---
title: Bitly credentials
description: Documentation for Bitly credentials. Use these credentials to authenticate Bitly in n8n, a workflow automation platform.
contentType: [integration, reference]
---

# Bitly credentials

You can use these credentials to authenticate the following node:

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

## Prerequisites

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

## Supported authentication methods

- API token
- OAuth2

## Related resources

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

## Using API token

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

--8<-- "_snippets/integrations/builtin/credentials/cloud-oauth-button.md"

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.

