> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crown-brlv.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Keys Setup

> Learn how to create and configure API keys for authenticating with the Crown API

## Access Management Console

Navigate to the **Manage Users** section in your Crown dashboard to begin setting up your API keys.

## Generate Your Key Pair

Before creating an API key in the dashboard, you need to generate an RSA key pair. Run these commands in your terminal:

```bash theme={null}
# Generate private key
openssl genrsa -out private-key.pem 2048

# Extract public key from private key
openssl rsa -in private-key.pem -pubout -out public-key.pem

# View your public key
cat public-key.pem
```

<Warning>
  Keep your `private-key.pem` file secure and never share it. You'll use this to sign your API requests.
</Warning>

## Register Your Public Key

1. Copy the entire contents of your `public-key.pem` file (including the `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----` lines)
2. Paste it into the **Public Key** textarea
3. Optionally, give your API key a descriptive name to help identify it later
4. Click **Create API Key**

## Next Steps

Once your API key is created, you'll need to use your private key to authenticate your requests. See the [Authentication Guide](/guides/authentication) for detailed instructions on signing requests with your private key.

<Info>
  You can create multiple API keys for different applications or environments. Each key can be revoked independently if needed.
</Info>
