> 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/medium.md).

# Medium credentials

You can use these credentials to authenticate the following nodes:

* [Medium](/integrations/builtin/app-nodes/n8n-nodes-base.medium.md)

{% hint style="warning" %}
**Medium API no longer supported**

Medium has stopped supporting the Medium API. These credentials still appear within n8n, but you can't configure new integrations using them.
{% endhint %}

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

* Create an account on [Medium](https://www.medium.com/).
* For OAuth2, request access to credentials by emailing <yourfriends@medium.com>.

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

* API access token
* OAuth2

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

Refer to [Medium's API documentation](https://github.com/Medium/medium-api-docs) for more information about the service.

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

To configure this credential, you'll need:

* An API **Access Token**: Generate a token in **Settings >** [**Security and apps**](https://medium.com/me/settings/security) **> Integration tokens**. Use the integration token this generates as your n8n **Access Token**.

Refer to the Medium API [Self-issued access tokens documentation](https://github.com/Medium/medium-api-docs?tab=readme-ov-file#21-self-issued-access-tokens) for more information.

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

To configure this credential, you'll need:

* A **Client ID**
* A **Client Secret**

To generate a **Client ID** and **Client Secret**, you'll need access to the **Developers** menu. From there, create a new application to generate the Client ID and Secret.

Use these settings for your new application:

* Select **OAuth 2** as the **Authorization Protocol**
* Copy the **OAuth Callback URL** from n8n and use this as the **Callback URL** in Medium.
