Guide the Customer Through Their First API Call
After the website is set up, customers usually ask: “Where do I sign up? Where is the Key? What address do I put in the code?” This article organizes what you need to deliver. Customers use their own accounts and Keys; they do not share the site owner’s Key.
Have the activated page domain, API domain, and documentation for one featured service ready. For the first test, choose a small request, check the cost first, and avoid batch or long-video tasks.
¶ First, send the customer these setup instructions
You can copy the following directly and replace the URLs and service name. Do not enter anyone’s real Key in it.
欢迎使用我们的 AI API 服务!
先打开【你的页面域名】,注册或登录自己的账号。
登录后打开该站点的应用列表(/console/applications),进入通用应用,点击 API KEY 右侧的复制按钮。
接入时需要这几项:
API 地址(Base URL):【按该服务文档填写的 API 根地址或 SDK Base URL】
服务 / 模型:【公开服务或模型名称】
接入文档:【你的站内文档链接】
API Key 请在自己的账号里获取并保管,不用发给我。
先按文档试一个小请求;需要付费时,确认价格后再操作。
遇到问题,可以把报错、发生时间和请求标识发给客服,别附完整 Key。
¶ After registration, confirm the customer has returned to your site
Have the customer click register or log in from your page domain. Afterward, the address bar should return to your page domain, rather than remain on an unrelated website.
After clicking Log in, complete authentication using the email, phone, or third-party method enabled on the site. Login may appear as a pop-up on the current page or open a unified authentication page; this is determined by the site owner’s Login presentation setting, and is not where the API Key is obtained.
Customers with an existing account can log in directly; if you need to verify first-time customer attribution, you must use a test account that has never been registered. This is because a shared identity system is used here, rather than a separate set of accounts being registered for each white-label site.
¶ The customer obtains the Key in their own console
Have the customer open Console → Applications on your site, find the application they need, and click Manage Keys (general application) or Keys (dedicated application). On the credentials page, click Create in the upper-right corner. Do not mistake the “Account Token” in the sidebar for the API Key described here.
The applications page path is /console/applications, and the credentials page path is /console/credentials; entering from an application carries over the corresponding application. Refer to the relevant documentation for each service’s activation requirements.
In the creation window, enter an easily recognized name, such as “First Integration Test.” If you need to control the test scope, follow the page prompts to set usage limits, an expiration time, and Allowed APIs, then click Create. When API restrictions are not enabled, the page displays “Unrestricted, all APIs can be called”; do not assume that hiding services in the catalog restricts the Key.
After the list refreshes, use the copy icon next to the Key to save it in your own secure configuration; do not send it directly to customer support. Existing Keys can be adjusted using “Edit” to change their names and restrictions; before making changes, confirm whether they will affect programs currently using them.
Captured on the official Platform on September 6, 2026. The same credential form is also used in the white-label console. Only a blank form is shown; no real Key was created or displayed.
You can think of an API Key as “the key a program uses to access a service”:
- Use separate Keys for each customer, project, and environment whenever possible.
- Keep them on the server or in a tool’s secure configuration, not in a webpage frontend or public code.
- Do not send them to the site owner or group chats, or include them in tutorial screenshots.
- The site owner cannot deactivate a customer’s Key across accounts based solely on the white-label configuration.
¶ Don’t mix up these four pieces of information
| Information | What it is | Common mistake |
|---|---|---|
| Base URL | The address where the program sends requests | Entering the page domain used to view documentation |
| API Key | The customer’s own access credential | Entering a login password or promotional link |
| Service / Model | The public service or model name required by the documentation | Replacing it with your own marketing name |
| Docs | The integration instructions page | Providing only the homepage and leaving the customer to find it |
When copying documentation examples, retain the paths required by the protocol. For example, when using an OpenAI-compatible SDK, if the Base URL provided in the service documentation ends in /v1, you can replace its hostname with your API domain and retain /v1. Provide the brand promotional link, portal documentation page, and program request address separately.
Native interfaces, the OpenAI-compatible protocol, MCP, and other integration methods differ: the first time, select only the one the customer actually needs and configure it according to the corresponding documentation; there is no need to test every method.
¶ Try a minimal request, then check the usage record
Copy the minimal example from the service documentation, replacing only the address, Key, and required parameters it specifies. Confirm the current price before submitting.
After seeing the result, open the usage records in the customer’s console, find the request by time, and check the service, usage, and balance change. Music or video tasks may initially return a task identifier; continue querying as described in the documentation, and do not treat “submitted” as “completed.”
One successful call + one corresponding usage record means the customer has successfully completed their first integration. Referral relationships and order rewards are confirmed through the corresponding backend records. If you need to prepare promotional materials for partners, refer to Promote Your White-Label Site.
If an error occurs, retain the time, path, status code, and any request identifier that can be shared. Do not send the entire request header to customer support, as it may contain the Key.
¶ Once testing is complete, handle the test Key
A Key used only for acceptance testing can be deactivated or deleted by the customer on their own credentials page. Do so after confirming it is no longer needed, and do not accidentally delete a production Key. Then use a low-risk request to confirm that the old Key is rejected.
Services hidden in the catalog may still be called by a valid Key: catalog visibility is not the same as access permission; if scope control is needed, the actual authorization capabilities must be configured and verified separately.
When this is done: The customer knows where to register, where to obtain a Key, and which address and documentation to use; the minimal request can be matched to its usage; and neither party needs to exchange Keys. Next: Understanding Customers and Revenue · Back to Roadmap
