> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/bitly.md).

# Bitly credentials

You can use these credentials to authenticate the following node:

* [Bitly](/integrations/builtin/app-nodes/n8n-nodes-base.bitly.md)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Create a [Bitly](https://www.bitly.com/) account.

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

* API token
* OAuth2

## Related resources <a href="#related-resources" id="related-resources"></a>

Refer to [Bitly's API documentation](https://dev.bitly.com/) for more information about the service.

## Using API token <a href="#using-api-token" id="using-api-token"></a>

To configure this credential, you'll need:

* An **Access Token**: Once logged in, visit [Settings > Developer Settings > API](https://app.bitly.com/settings/api/) to generate an Access Token.

## Using OAuth2 <a href="#using-oauth2" id="using-oauth2"></a>

{% hint style="info" %}
**Note for n8n Cloud users**

Cloud users don't need to provide connection details. Select **Connect my account** to connect through your browser.
{% endhint %}

If you need to configure OAuth2 from scratch or need more detail on what's happening in the OAuth web flow, refer to the [Bitly API Authentication documentation](https://dev.bitly.com/docs/getting-started/authentication/) for more information.
