# 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

![](https://1281192816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7WyYfHRioZSknGokB%2F-Me5RKGthjR-O0WCRxDW%2F-Me5RpcrvcSHoQEZA_A5%2Fsecretkey.png?alt=media\&token=c21734c9-e5cc-4e1b-a20d-0cadbc2ec01d)

&#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
```
