Service: N8n - EyevinnOSC/community GitHub Wiki
n8n is an open-source workflow automation platform that lets you connect 400+ apps, build AI-powered automations, and run custom code in a self-hosted environment. Available as an open web service in Eyevinn Open Source Cloud, n8n gives you the flexibility of a no-code/low-code tool combined with full control over your data. This tutorial walks you through the steps to get started.
- If you have not already done so, sign up for an Eyevinn OSC account
n8n requires a PostgreSQL database to store workflow data, execution history, and credentials across restarts. Navigate to the PostgreSQL service in the Eyevinn OSC web console. Click on "Create psql-db" and enter a name for the instance and a password.
Based on the IP and port, the connection URL to your PostgreSQL database is postgres://postgres:<password>@<IP>:<PORT>/postgres.
It is a good practice to store credentials as secrets and refer to them when creating an instance. Navigate to the n8n service in the Eyevinn OSC web console. Go to the tab "Service Secrets" and click on "New Secret".
Create the following secret:
-
dburlwith the PostgreSQL connection URL from Step 1 (e.g.postgres://postgres:[email protected]:10505/postgres)
Go to the tab "My n8n" and click on "Create n8n". Fill in:
- Name: a name for your instance (alphanumeric only)
-
DatabaseUrl:
{{secrets.dburl}} - RunnersAuthToken: leave empty to have the platform generate a secure token automatically
Click on the instance card when the status is green and "running".
Open the instance URL in your browser. The first time you open n8n, you will be prompted to create an owner account with your name, email address, and a password.
Important: This setup step is required before you can use n8n. There are no default credentials to guess. Complete the owner account setup before sharing the instance URL with others.
Once logged in, click "New workflow" to start building automations. n8n supports:
- Trigger nodes: HTTP webhooks, scheduled triggers, and app events from Slack, GitHub, Gmail, and 400+ more
- Action nodes: Transform data, call APIs, run JavaScript or Python code, and query databases
- AI nodes: Connect to OpenAI, Anthropic, and other LLMs for AI-powered workflows
- MCP integration: n8n can act as both an MCP client and MCP server for AI agent workflows
You can also create an n8n instance using the OSC CLI:
# First create a PostgreSQL database
npx @osaas/cli create birme-osc-postgresql mydb -o PostgresPassword="mypassword"
# Create the n8n instance (RunnersAuthToken is auto-generated)
npx @osaas/cli create n8n-io-n8n myn8n \
-o DatabaseUrl="postgres://postgres:mypassword@<IP>:<PORT>/postgres"| Option | Required | Description |
|---|---|---|
DatabaseUrl |
No | PostgreSQL connection string. If omitted, n8n uses SQLite and data is lost on restart. Strongly recommended for production. |
RunnersAuthToken |
Yes | Authentication token for communication between the n8n main process and task runners. Auto-generated by the platform if left empty. |