> For the complete documentation index, see [llms.txt](https://upsolver.gitbook.io/content/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://upsolver.gitbook.io/content/how-to-guides-1/setup/enable-api-integration.md).

# Enable API Integration

Upsolver is a data developer platform that makes it easy for developers to integrate their tools and processes so they can work more efficiently. Upsolver exposes a global API endpoint that allows applications like Upsolver CLI to connect and execute SQL code.

Controlling access to the API is performed by creating API tokens in the Upsolver console. Start by clicking the **Settings** button in the bottom left corner of the console, followed by selecting the **API Tokens** menu item, as shown below:

<figure><img src="/files/JPYM0GhG6CUGQfhZPMIk" alt=""><figcaption><p>Open the Settings menu in the Upsolver UI to view the Settings</p></figcaption></figure>

Next, click the **Generate** button at the top right corner. In the dialog box enter a name for your token and select if and when the token should expire.

<figure><img src="/files/WkjfDueTFLlH1BmWO9Af" alt=""><figcaption><p>Generate a new API token</p></figcaption></figure>

When you have done this, click **Generate** and copy your token to a safe place. If you lose this token you will not be able to retrieve it and instead will need to delete it and create a new token.

<figure><img src="/files/RdFZk3p82xQ4h08koNLj" alt=""><figcaption><p>Generate a new API token</p></figcaption></figure>

Your token is ready to be used. Read the guide on how to [Install the Upsolver CLI](/content/how-to-guides-1/setup/install-the-upsolver-cli.md) to learn how to get started with the Upsolver CLI.

You can easily delete a token by clicking the three dots to the right of your token and selecting **Delete**.

<figure><img src="/files/9AwkGtRlwe1ap3xslNRG" alt=""><figcaption></figcaption></figure>


---

# 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://upsolver.gitbook.io/content/how-to-guides-1/setup/enable-api-integration.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.
