# 3. Generate Access Tokens

### Introduction

In this tutorial, we're going to generate some API tokens that will be needed for the integration process. There are three types of API tokens that can be generated to complete the integration process. Here is a breakdown of each.&#x20;

| Token Type | Description                                                                                                                                      |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Public     | Token that can be placed inside publicly distributed client-side code. This may be a website or a mobile app.                                    |
| Private    | Token that can be used to make calls from your servers to ours. These tokens should never be included anywhere that will be publicly accessible. |

If you don't have a developer role, you may not have access to manage your API in the dashboard. Contact your admin to update your account access level to developer.

Once you created the needed access tokens, you can process the integration options that fit your needs.

### Generate API Keys

Navigate to your API -> Manage Keys section:

**1. Click on the Create API Key**

![](/files/-MXzUhAp5LuSnSEAOllW)

**2. Provide key details and click `Save`**&#x20;

![](/files/-MXzUjV8H8fFeJNvmjct)

### Keeping your keys safe

Your private API key can be used to make any API call on behalf of your account. Ensure it is kept out of any version control system you may be using.

Please note that the private keys are only visible the first time you create them. After that, the Dashboard redacts the API key. If you lose your private key, you can't recover it and must create another one.


---

# 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.payengine.co/developer-docs/getting-started-1/generate-access-tokens.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.
