Add OpenAI and Gemini Credentials to n8n v2
Daria Cupareanu
55 steps
3 minutes
Google Cloud
Localhost
OpenAI Developer Platform
Google
OpenAI
1
Navigate to [n8n](http://localhost:5678/home/workflows)
2
Click the (+) button.
3
Click "Credential"
4
Type "openai"
5
Click "OpenAi"
6
Click "Continue"
7
Navigate to <https://platform.openai.com> and create an account.
8
Finalize your profile
9
Skip inviting your team for now
10
API key name & project name can be anything
11
Click "Copy"
12
Switch to tab Credentials - n8n\[DEV\]"
13
Paste in the OpenAI API Key
14
Click "Save"
15
Click this icon.
16
[Go back to https://platform.openai.com/settings/organization/billing/overview](https://platform.openai.com/settings/organization/billing/overview)
17
Click "Your profile"
18
Click "Billing"
19
Click "Add to credit balance"
20
Add money to your account
21
Add your payment details and click "Confirm payment"
22
Click "General"
23
Click "Verify Organization" button
24
Switch to tab Credentials - n8n\[DEV\]"
25
Click this button.
26
Click "Credential"
27
Type "gemini"
28
Click "Google Gemini(PaLM) Api"
29
Click "Continue"
30
Go to <https://aistudio.google.com/api-keys>
31
Click "Get API key"
32
Click "Create API key"
33
Click the "Name your key" field.
34
Type a name for the key as you can track billing separately per api key.
35
Click "Select a Cloud Project"
36
Click "Select a Cloud Project"
37
Click "Create project"
38
Click the "Name your project" field.
39
Type "Farmy"
40
Click "Create project"
41
Click "Create key"
42
Click "Set up billing"
43
Click "Manage billing accounts"
44
Click "Create account"
45
Click "Continue"
46
Click "Add name and address"
47
Click "Add payment method"
48
Click this image.
49
Fill out credit/debit card details
50
Click "Submit"
51
Copy the Gemini API Key
52
Switch back to n8n
53
Paste the Gemini API Key
54
Click "Save"
55
Click this icon.
Add OpenAI and Gemini Credentials to n8n v2
Daria Cupareanu
55 steps
3 minutes
Google Cloud
Localhost
OpenAI Developer Platform
Google
OpenAI
1
Navigate to [n8n](http://localhost:5678/home/workflows)
2
Click the (+) button.
3
Click "Credential"
4
Type "openai"
5
Click "OpenAi"
6
Click "Continue"
7
Navigate to <https://platform.openai.com> and create an account.
8
Finalize your profile
9
Skip inviting your team for now
10
API key name & project name can be anything
11
Click "Copy"
12
Switch to tab Credentials - n8n\[DEV\]"
13
Paste in the OpenAI API Key
14
Click "Save"
15
Click this icon.
16
[Go back to https://platform.openai.com/settings/organization/billing/overview](https://platform.openai.com/settings/organization/billing/overview)
17
Click "Your profile"
18
Click "Billing"
19
Click "Add to credit balance"
20
Add money to your account
21
Add your payment details and click "Confirm payment"
22
Click "General"
23
Click "Verify Organization" button
24
Switch to tab Credentials - n8n\[DEV\]"
25
Click this button.
26
Click "Credential"
27
Type "gemini"
28
Click "Google Gemini(PaLM) Api"
29
Click "Continue"
30
Go to <https://aistudio.google.com/api-keys>
31
Click "Get API key"
32
Click "Create API key"
33
Click the "Name your key" field.
34
Type a name for the key as you can track billing separately per api key.
35
Click "Select a Cloud Project"
36
Click "Select a Cloud Project"
37
Click "Create project"
38
Click the "Name your project" field.
39
Type "Farmy"
40
Click "Create project"
41
Click "Create key"
42
Click "Set up billing"
43
Click "Manage billing accounts"
44
Click "Create account"
45
Click "Continue"
46
Click "Add name and address"
47
Click "Add payment method"
48
Click this image.
49
Fill out credit/debit card details
50
Click "Submit"
51
Copy the Gemini API Key
52
Switch back to n8n
53
Paste the Gemini API Key
54
Click "Save"
55
Click this icon.