# API

## How to connect to Upzelo using the API

Head over to the [Integrations](https://upzelo.com/app/integrations) page in the Setup menu on the bottom left of the dashboard, you will be presented with a list of Integrations that Upzelo offers.

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

Start by clicking the `Connect` button underneath the API card. To enable write access with the API, click on `Activate API`.

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

After pressing `Save`, a button will appear that when clicked will take you to create your API keys.

## Creating an API Key

On the `API Keys` page of the Developer section, you will be presented with your `App ID`. This is used in the headers sent to the Upzelo API.

Get started by clicking `Create an API Key`. Enter a name for your API Key and select the appropriate permissions for the key.

Once you have created your API Key, head over to the [API Documentation](https://upzelo.com/api/docs) to get started implementing Upzelo with your system.


---

# 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.upzelo.com/integrations/payment-providers/api.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.
