# Generating API Keys

This guide provides step-by-step instructions for generating and getting your API Keys&#x20;

Login to your merchant dashboard and head over to the settings page from the sidebar.

<figure><img src="/files/7HJIQG3LbIDYKevwjOI4" alt=""><figcaption></figcaption></figure>

Click on the API Key Tab on the Tab Menus you see at the top of the page&#x20;

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

You will see your API and Encryption Keys Automatically generated on your dashboard. You can click on the eye icon to view your keys or the clipboard Icon to copy your keys to clipboard

### &#x20;Updating SSH public Key

You need to update your SSH Public Key to allow us to encrypt or verify your requests. To do this, navigate to your settings on the merchant dashboard. Then, copy your SSH Public Key from the previous step and paste it into the SSH public key field on the API key tab.


---

# 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.cngn.co/getting-started/security/generating-api-keys.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.
