> For the complete documentation index, see [llms.txt](https://mobiledocs.supgpt.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobiledocs.supgpt.app/getting-started/api-keys.md).

# API Keys

The app requires at least one API key to function, and it **specifically requires an OpenAI API key for advanced tools** such as web content extraction and knowledge files.

## How to Obtain API Keys

To use the app's features, you must individually sign up for each API provider and create your API keys:

* OpenAI <https://platform.openai.com/>
* Anthropic <https://console.anthropic.com/login>
* Google <https://aistudio.google.com/app/apikey>
* Groq <https://console.groq.com/login>

## Adding API Keys to the App

#### Open Settings

Access the Settings by tapping on the ![](/files/WuS5AGifg9uHXrboMlkJ) button on the **Chats** screen.

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

#### Input Your API Keys

In the App Settings panel select **API Keys** and paste your keys into their respective fields. The app automatically saves your entries.

## API Key Storage

Your API keys are encrypted and stored locally on your device.

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

## Syncing API Keys Across Devices

Please note that API keys are not synced between devices. If you use the app on multiple devices, you will need to enter your keys manually for each instance.


---

# 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 dynamically by asking a question.

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

```
GET https://mobiledocs.supgpt.app/getting-started/api-keys.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
