---
description: Steps of adding new API keys.
---

# Obtaining Your API Keys

Obtaining your API keys is a simple and essential step that enables you to access the full range of features offered by Ottu. This short guide will walk you through the process of acquiring your unique API keys.

<figure><img src="https://697689627-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuvuyQluEi5QMHcp2TcU7%2Fuploads%2F42c3jIsow2v2A3G5G9sB%2Fimage.png?alt=media&#x26;token=60e2d2b5-7e1a-4c94-a787-c41dbaafff0c" alt=""><figcaption></figcaption></figure>

### 1-Add New API Key

Go to Ottu Dashboard > Administration Panel > API Auth > API keys, then click on `add API key`

<figure><img src="https://content.gitbook.com/content/uvuyQluEi5QMHcp2TcU7/blobs/J53uTV5oFQw9fyLjrSNb/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/uvuyQluEi5QMHcp2TcU7/blobs/jEXcRkKqqgWkl6BJuZGV/image.png" alt=""><figcaption></figcaption></figure>

### 2-Provide the Required Information

Fill the required fields and click `save`.

<figure><img src="https://content.gitbook.com/content/uvuyQluEi5QMHcp2TcU7/blobs/QnRojdjYSGyYy0ZpMY24/image.png" alt=""><figcaption></figcaption></figure>

*   #### Fields Description

    Name: _<mark style="color:red;">**`required`**</mark>_ Max length 50.\
    Revoke: _<mark style="color:blue;">**`optional`**</mark>_ once checked, the API key can not be used anymore. \
    Expires: _<mark style="color:blue;">**`optional`**</mark>_ once the API gets expired, it can not be used anymore.

### 3-Create New API Key

Click on the recently generated API key, which is designated as “Example” in this instance.

<figure><img src="https://content.gitbook.com/content/uvuyQluEi5QMHcp2TcU7/blobs/9tFqeaykfdd150OEdVGY/image.png" alt=""><figcaption></figcaption></figure>

The API keys, both [private](..#private-key-api-key) and [public](..#public-key), will be displayed as illustrated in the following figure.

<figure><img src="https://content.gitbook.com/content/uvuyQluEi5QMHcp2TcU7/blobs/ImiIKKknElcRT7X75znX/image.png" alt=""><figcaption></figcaption></figure>
