How to Connect Credentials in n8n
Connect Google, OpenAI, Slack, Airtable, Twilio, and other accounts to an imported n8n workflow, and reuse each credential across nodes.
On this page
An imported workflow arrives without any credentials. Every node that talks to an app needs one from your own account, and until it has one, it shows a warning icon. Each workflow's page lists the credentials it needs under What you need.
How credentials work in n8n
A credential is saved once in your n8n account, then picked by any node that needs it. If a workflow has four Google Sheets nodes, you create one Google Sheets credential and choose it in all four.
n8n encrypts credentials and never includes them when a workflow is exported. That's why the workflows in our library are safe to share, and why you always connect your own.
Add a credential to a node
- Open a node that shows a warning.
- In the Credential to connect with field, choose Create new credential.
- Fill in the details for that app and save. n8n tests the connection when you save.
- Open the next node with a warning and pick the same credential from the list.
Credentials our workflows use
Google Sheets, Gmail, Drive, and Calendar
On n8n Cloud, choose Sign in with Google and approve access. On self-hosted n8n, first create an OAuth client in Google Cloud Console and turn on the API for each Google app you're connecting. Then paste the client ID and secret into n8n, and add the redirect URL n8n shows you to the OAuth client.
OpenAI
Create an API key on the API keys page of your OpenAI platform account and paste it into the credential. The account needs billing set up, or the AI steps will fail.
Slack
On n8n Cloud, sign in with Slack. On self-hosted n8n, create a Slack app, give it the scopes the node needs, install it to your workspace, and paste its bot token. Then invite the app to every channel it should post in.
Airtable
Create a personal access token in Airtable's builder hub with the data.records:read, data.records:write, and schema.bases:read scopes. Give it access to your base and paste it into n8n.
Twilio and WhatsApp
Paste the Account SID and Auth Token from your Twilio console. To send WhatsApp messages, the number you send from has to be set up for WhatsApp in Twilio.
Telegram
Message @BotFather in Telegram, create a bot, and paste the token it gives you. Add the bot to any group it should post in.
Everything else
For HubSpot, Shopify, QuickBooks, Supabase, and the rest, choose the app's credential type in n8n. The credential window links to n8n's own instructions for that app.
Tips
- Name credentials so they're easy to tell apart later, like "Google Sheets, support team."
- Give each credential only the access the workflow needs.
- To check a credential on its own, open one node and run just that node from its window.
