> For the complete documentation index, see [llms.txt](https://docs.zata.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zata.ai/manage/access-keys/creating-a-new-access-key.md).

# Creating a New Access Key

You can create only five access keys.

* Log in to the **Zata.ai Panel**.
* From the left-side menu, click on **Access Keys**.

The Access Keys page displays all your existing keys across both regions (Indore and Mumbai), along with summary cards for **Total Keys**, **Root Keys**, and **Sub-user Keys**.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2Fgit-blob-6f52d8db49b1ae21dd4a50c00aeb3e9703db61c9%2Faccess-key-both-region-1.png?alt=media" alt="Access Keys overview with both regions"><figcaption></figcaption></figure>

* Click on **Generate Key**.

You will see the **Create Access Key** dialog with two options:

* **Root User** – Full administrative access
* **Sub User** – Limited user-level access

Select the appropriate option based on your requirement and choose your **Region** (Indore or Mumbai) from the dropdown.

**Example: Generating a Root Key for Indore region**

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2Fgit-blob-7dd5a5d64de8fede9eeb121407f99a81f0f09a26%2Faccess-key-both-region-2.png.png?alt=media" alt="Create Access Key - Indore Region" width="375"><figcaption></figcaption></figure>

**Example: Generating a Root Key for Mumbai region**

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2Fgit-blob-e1833c019d12794420a4c77abfd81a87d5d3b6f4%2Faccess-key-both-region-3.png?alt=media" alt="Create Access Key - Mumbai Region" width="375"><figcaption></figcaption></figure>

After selecting the user type and region, click **Continue**. You will see an **Important Note** reminding you to download your key file immediately.

* Click **Generate Key** to create the access key.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2Fgit-blob-e4b2ae5def7afdbf172df51e7b431bdd87a76cad%2Faccess-key-both-region-4.png?alt=media" alt="Important Note - Generate Key" width="375"><figcaption></figcaption></figure>

### Generating a Sub-user Key

To generate a key for a **Sub-user**, select the Sub User option in the Create Access Key dialog.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FRZ95cOoKEheWJ2gtD0yF%2Fimage.png?alt=media&amp;token=c7fd5f34-9734-45c7-a035-184347bb65bb" alt=""><figcaption></figcaption></figure>

* Choose the required sub-user from the list (for example: `accessuser`).
* Click on **Generate Key**.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FGJPvPML3UUodlh8WiMbl%2Fimage.png?alt=media&amp;token=de37a2ac-de30-4b2c-8c7a-7a424d97681c" alt=""><figcaption></figcaption></figure>

### After Key Generation

* As soon as you click **Generate Key**, a `.txt` file is automatically downloaded to your local system.
* Open the downloaded `.txt` file. It will contain:
  * Access Key ID
  * Secret Access Key
* Save this file in a secure location on your system.
* Use these keys to configure:
  * S3 Browser
  * Cyberduck
  * Any application using the Zata.ai S3 API

The newly generated key will appear in the Access Keys list with its associated region.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2Fgit-blob-a58eebbafbdcae61223ba153e09f98275dccfce3%2Faccess-key-both-region-last.png?alt=media" alt="Access Keys list with all keys across both regions"><figcaption></figcaption></figure>

If the downloaded file is lost, you must delete the existing access key and generate a new one, as the Secret Access Key cannot be recovered.
