# NewAPI

* Войдите и откройте страницу токена
* Нажмите «Добавить токен»

<figure><img src="/files/a783f78d123fd4e5cf0529e86f8d15d798a6b861" alt=""><figcaption></figcaption></figure>

* После ввода названия токена нажмите «Отправить» (другие настройки при необходимости можно задать самостоятельно)

<figure><img src="/files/a2bbb62035ddb70ef5c7201ea3259ba589174dcb" alt="" width="240"><figcaption></figcaption></figure>

* Откройте настройки провайдера в CherryStudio и нажмите самую нижнюю кнопку в списке провайдеров`Добавить`
* Введите название примечания, в поле поставщика выберите OpenAI и нажмите «ОК»

<figure><img src="/files/2cf77efad1c0804b1da5f3387b19ab219a2b83e8" alt="" width="291"><figcaption></figcaption></figure>

* Вставьте только что скопированный ключ
* Вернитесь на страницу получения API Key и в адресной строке соответствующего браузера скопируйте корневой адрес, например:

<figure><img src="/files/d833b5509cb2a3a46bc772e31a85295282929425" alt=""><figcaption><p><strong>Нужно скопировать только https://xxx.xxx.com, «/» и всё, что после него, не нужно</strong></p></figcaption></figure>

{% hint style="info" %}

* Когда адрес представляет собой IP + порт, укажите [http://IP:порт](https://docs.cherry-ai.com/docs/russian/pre-basic/providers/http:/IP:порт), например: <http://127.0.0.1:3000>

* Строго различайте`http`и`https`, если SSL не включён, не указывайте https
  {% endhint %}

* Добавьте модель (нажмите «Управление» для автоматического получения или введите вручную), после чего можно использовать её, включив переключатель в правом верхнем углу.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/russian/pre-basic/providers/newapi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
