Connecting OpenRouter in n8n
To enable OpenRouter functionality inside your n8n workflows, you will need to provide valid authentication credentials.
This setup supports the following node:
- Chat OpenRouter
Before You Begin
Make sure you have an OpenRouter account. You will not be able to proceed without one.
If you do not yet have an account, visit the OpenRouter website and complete the registration process.
Authentication Type
This integration relies on an API key for access.
How to Set Up Your API Key
To connect OpenRouter with n8n using an API key, follow the steps below:
- Sign in to your OpenRouter account
- Go to your API Keys section
- Click the option to create a new secret key
- Give the key a name if desired
- Copy the generated key
- Paste it into the corresponding API Key field when adding credentials in n8n
Success! Once complete, your connection to OpenRouter will be ready to use within supported nodes.
Additional Resources
For additional setup instructions or advanced use cases, refer to OpenRouter's official documentation and their Quick Start guide. These resources provide helpful information on managing requests, handling tokens, and exploring all supported endpoints.
Next Steps
Now that you have OpenRouter connected to n8n, you can:
- Build AI-powered chatbots and assistants
- Create content generation workflows
- Implement smart data processing pipelines
- Add AI capabilities to your existing automations
Ready to build a WhatsApp chatbot? Check out our complete guide: Build Your Own WhatsApp Chatbot with N8N