How can I create individual credentials for users (Microsoft, Google, Airtable, SerpAI etc.), and integrate this process into a custom website interface where I plan to have a AI assistant that can connect to all the services?

Describe the problem/error/question

I’m developing a platform that integrates with n8n, allowing users to automate tasks like sending emails, managing calendars, and generating drafts. I aim to create individual credentials for each user to ensure each user has their own set of credentials without manual token generation. Additionally, I need to integrate this process into a custom website interface. However, How do I automatically create these credentials and how can I link it up to a website?

What is the error message (if any)?

Please share your workflow (Currently in Development)

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: latest
  • Database (default: SQLite): Default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm - self hosted (Will switch later to cloud to allow for webhooks etc.)
  • Operating system: Windows 11

N8n does not currently support dynamic credential selection within a single workflow execution, each node uses a static credential set.

You’ll need to create separate credentials and workflows per user, or use HTTP Request nodes with tokens passed as parameters if you want to avoid credential management in n8n.

ATTENTION

According to the n8n Sustainable Use License, you may only use n8n for your own internal business purposes. If your platform collects user credentials (e.g., Gmail, Google Calendar) and uses n8n to automate tasks on behalf of your users—especially if your users are external customers—this is not allowed under the standard license.

Specifically, the license does not allow:

  • Collecting users’ own credentials to access their data via n8n as part of a product or service you offer.
  • Hosting n8n and charging people money to access it, or white-labeling n8n for your customers.

Ok thank you so much for letting me know.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.