# Configuration

## Getting your API Key and Secret Key

Before start integration, you need to get your api key and secret key from makeshorter panel. &#x20;

To get api keys login to <https://panel.makeshorter.com>

Go to company page by clicking company icon

![](/files/-Me5RpcrvcSHoQEZA_A5)

&#x20;You can create new API key and Secret Key by clicking Generate New Keys.&#x20;

{% hint style="warning" %}
&#x20;"Generate New Keys" creates new keys and destroy old ones. You can not use old keys anymore. So before click, think twice!&#x20;
{% endhint %}

## Authorization

Makeshorter api does not require an authorization request to start.  All you need is to get your secret key, and send your key to requests in Authorization header.

```
$ curl https://api.makeshorter.com/api/url -u sk_XXXX
```


---

# 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.makeshorter.com/api-integration/configuration.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.
