Skip to main content

Overview

To authenticate with Pinata, you need:
  1. API Key (JWT) — the JWT of a Pinata API key.
This guide will show you how to get it.

Prerequisites

  • A Pinata account. Sign up if you don’t have one.

Step 1: Create an API key

  1. Sign in to the Pinata app. In the left sidebar, under Developer, click API Keys.
Pinata sidebar with API Keys highlighted under Developer
  1. Click New Key in the top right.
Pinata API Keys page with the New Key button highlighted
  1. Enter a name for the key. Tick Admin for full access to every endpoint, or pick the permissions your integration needs. Then click Create.
Pinata Create API Key dialog with permissions set and the Create button highlighted
  1. In the API Key Information dialog, click the copy button next to JWT (secret access token). Pinata shows the JWT only once, so store it somewhere safe.
Pinata API Key Information dialog with the JWT copy button highlighted

Step 2: Enter your API key in the Connect UI

  1. Open the form where you need to authenticate with Pinata.
  2. Paste the JWT in the API Key (JWT) field.
  3. Submit the form, and you should be successfully authenticated.
Pinata Connect UI form with the API Key (JWT) field You are now connected to Pinata.