> For the complete documentation index, see [llms.txt](https://docs.pump-bot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pump-bot.com/crypto-bot-general/keys-json/create-bybit-api-keys.md).

# create Bybit API Keys

## How to create your Bybit API Keys&#x20;

See how you will get your API Keys for the Bybit Exchange to be used in our crypto trading bots for spot and futures/derivatives trading.

1. Got to: <https://www.bybit.com/app/user/add-secret-key>
2. Create new API Keys
3. Select "System-generated API Keys"

<figure><img src="/files/6r2nuGoxCRuSxX6Rz9tv" alt=""><figcaption><p>Select System-generated API Keys</p></figcaption></figure>

1. And select "API Transaction" under "API Key Usage"
2. For Crypto Trading Bots you will never need to allow "withdraws" from your account. This means that no one is able to withdraw funds from your accounts with the correct permissions and you ensure the maximum security.
3.

```
<figure><img src="/files/vUPzRWPwnvTQFNneRylJ" alt=""><figcaption><p>Bybit API Keys permissions for crypto trading bots - never withdraw!</p></figcaption></figure>
```

4. Under "Add IP addresses(Optional)" do NOT enter your IP address, because you won't have a static IP. You IP will change and the bot can't access the exchange and trade for you.&#x20;
5. Click "Submit".

After you did this just copy and paste the shown keys into the bybitAPI.json. The secret Key will only be shown once.

```json
{
  "apiKey": "enter here",
  "secretKey": "enter here" 
}
```

{% hint style="info" %}
API Keys on Bybit are only valid for 3 months. This means you will need to do this every 3 months again. Don't forget that :)&#x20;
{% endhint %}
