Skip to main content

Authorization

Follow this guide to create a new Bunny.net credential that will allow Nexla to authenticate to and exchange data with your Bunny.net account.
bunny_inc_api_auth.png

Bunny.net

Prerequisites

To connect Nexla to Bunny.net, you need a Bunny.net account API key. Bunny.net uses API key-based authentication for all Core API requests — the key is passed as the AccessKey HTTP header with each request to https://api.bunny.net.

Bunny.net Account Requirements

  • An active bunny.net account. Sign up at bunny.net if you do not already have one.
  • Access to the bunny.net dashboard at dash.bunny.net.

Retrieve Your Bunny.net Account API Key

Each bunny.net account has a single Account API Key that provides access to the Core API. This key is used for managing pull zones, storage zones, DNS, statistics, billing, and other account-level resources.

  1. Sign in to the bunny.net dashboard.

  2. Click on your account name or profile icon in the upper right corner of the dashboard.

  3. Select Account Settings from the dropdown menu.

  4. In the Account Settings page, scroll down to the API section.

  5. Your Account API Key is displayed in the API section. Click the Show button or the copy icon to reveal and copy the key value.

Important

Your Account API Key provides full access to your bunny.net account. Store it in a secure location such as a password manager or secrets vault. Never share the key publicly or include it in client-side code.

Bunny.net uses different access keys for different services. The Account API Key is used for the Core API (api.bunny.net). Edge Storage zones use a separate Storage Zone Password, and Bunny Stream video libraries use a Stream API Key. For Nexla integrations with the Core API, use the Account API Key. For complete information, refer to the bunny.net authentication documentation.

Create a Bunny.net Credential

  • To create a new Bunny.net credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used to provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

API Key

  1. Enter your bunny.net Account API Key in the API Key Value field. This is the key you copied from the bunny.net dashboard. The key is passed as the AccessKey HTTP header with every API request Nexla makes to the bunny.net Core API on your behalf.

    The Account API Key authenticates all Core API operations, including reading pull zone configurations, retrieving statistics, and managing DNS zones. Ensure you are using the Account API Key (found in Account Settings), not a Storage Zone Password or Stream API Key.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.