# Api Keys

### How do I get an API key?

The API key is a **unique identifier that is assigned to you**. This allows you to track usage and activities such as purchases and sales count made through your integration. To get an API key please kindly [Fill out this form](https://paychant.com/contact) and one of our team will reach back to you in a few moments with the next steps. In case you need additional support or inquiry, please contact us at [sales@paychant.com](http://sales@paychant.com).

### Adding an API key in your integration

The parameter name for the API key is partnerApiKey, its value type is a string, and it should be passed along with other parameters.

**For Overlay Embed - (Javascript SDK)**

{% code overflow="wrap" %}

```javascript
new PaychantWidget({
  env: 'production',
  action: 'buy',
  partnerApiKey: [YOUR_PARTNER_API_KEY]'
}).openWindow();
```

{% endcode %}

**For Redirect Integration**

```html
<a 
href="https://widget.paychant.com/buy?partnerApiKey=[YOUR_PARTNER_API_KEY]"
target="_blank">Buy & Sell Crypto with Paychant</a>
```


---

# 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://developer.paychant.com/resources/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.
