Skip to main content

First time using Wisdom Gate?

You can watch our tutorial video to quickly learn how to use Wisdom Gate API, or follow the step-by-step guide below to integrate Wisdom Gate into your application.

View API documentation

Explore the complete API reference with examples and endpoints.

Integration requires only three steps:

Step 1. Get Your API Key

  1. Sign up on Wisdom Gate and create an account.
  2. Create a new token to get your API Key in the console.
After registration, you’ll receive an email with a redemption code for free trial credits. Use these credits to try the service before deciding whether to recharge.

Step 2. Replace Base URL

  1. Modify the BASE_URL in your application to Wisdom Gate’s interface address, for example:
    Replace OpenAI’s Base URL with https://wisdom-gate.juheapi.com.
  2. Different clients may need to try the following addresses:
    • https://wisdom-gate.juheapi.com
    • https://wisdom-gate.juheapi.com/v1
    • https://wisdom-gate.juheapi.com/v1/chat/completions
import openai

client = openai.OpenAI(
    api_key="your-api-key",
    base_url="https://wisdom-gate.juheapi.com/v1"
)

Step 3. Replace Key

  1. Replace the corresponding API Key in your client with the Key obtained from Wisdom Gate.
  2. After replacement, you can start using it normally.
Make sure to keep your API key secure and never commit it to version control. Use environment variables or secure key management systems.

Ongoing Support

If you encounter any issues during integration, feel free to contact our customer service: Thank you for choosing Wisdom Gate. We are committed to serving you! For further calling instructions and development guides, please refer to our API documentation.