> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/en-us/pre-basic/providers/oneapi.md).

# OneAPI

* Log in and go to the token page

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-4efc19c459d1d6eff0cd828627d56bac4662f7a8%2Fimage%20(20).png?alt=media" alt=""><figcaption></figcaption></figure>

* Create a new token (you can also use the default token directly ↑)

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-8f9da4239594f17807bff1c5cb62e8a817e338cf%2Fimage%20(19).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Copy the token

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-ed0d9ce1b6642b8d9e23bb2aaee4e4db9369096e%2Fimage%20(23).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Open CherryStudio's provider settings and click the bottom-most item in the provider list `Add`
* Enter a note name, choose OpenAI as the provider, and click OK
* Paste in the key you just copied
* Go back to the page where you obtained the API Key, and copy the root address in the corresponding browser address bar, for example:

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-91a2b54ef14a03e7453c00305e938e84ce93684b%2Fimage%20(26).png?alt=media" alt="" width="563"><figcaption><p><strong>You only need to copy https://xxx.xxx.com; the "/" and everything after it are not needed</strong></p></figcaption></figure>

{% hint style="info" %}

* When the address is IP + port, just enter <http://IP:port>, for example: <http://127.0.0.1:3000>

* Strictly distinguish `http` and `https`, if SSL is not enabled, do not enter https
  {% endhint %}

* Add a model (click Manage to auto-fetch or enter manually). Turn on the switch in the top-right corner to use it.

{% hint style="success" %}
Other OneAPI themes may have a slightly different interface, but the method for adding is the same as the steps above.
{% endhint %}

***

### Get help and submit feedback

If you encounter any questions, bugs, or have suggestions for feature improvements during configuration or use, please refer to [Feedback and Suggestions](https://docs.cherryai.com.cn/docs/en-us/question-contact/suggestions.md) for the official channels provided.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cherryai.com.cn/docs/en-us/pre-basic/providers/oneapi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
