# Generating API Keys

<figure><img src="https://content.gitbook.com/content/1faQQ9zk1XcGCYD5rVeI/blobs/0pSCWkl1fwSICWpzCLHu/tylt%203.png" alt=""><figcaption></figcaption></figure>

To use the Tylt API, you need to generate a pair of API keys (API Key and Secret Key).  If you have multiple merchant accounts will have their own unique API Key and API Secret.

### Follow these steps to generate your keys:

1. Navigate to **Settings > Business** in your tylt.money Dashboard.
2. Click the **"Generate Key"** button.
3. Once clicked, you’ll be provided with two keys:
   * **API Key**: This key is included in the Authorization header of your API requests. It identifies your account in each interaction.
   * **Secret Key**: This key is used to encrypt the payloads you send to the API and decrypt the responses. **It must be kept confidential** and should never be exposed in client-side code.

### **Storing Your API Keys**

Immediately after generating your API Key and Secret Key, make sure to securely store both. These keys **cannot be retrieved** after the initial generation, and if you lose or compromise them, you will need to generate a new set of keys.

{% hint style="info" %}
**Important:** Ensure that both keys are stored securely in a password manager or encrypted storage. If you suspect your keys have been compromised, it’s essential to regenerate them immediately to maintain the security of your account.
{% endhint %}
