{"id":21127,"date":"2026-11-21T07:41:54","date_gmt":"2026-11-21T07:41:54","guid":{"rendered":"https:\/\/www.web-ai-institute.com\/wp\/2026\/11\/21\/new-self-hosting-n8n-locally-ai-assistant-setup\/"},"modified":"2026-11-21T07:41:54","modified_gmt":"2026-11-21T07:41:54","slug":"new-self-hosting-n8n-locally-ai-assistant-setup","status":"publish","type":"post","link":"https:\/\/www.web-ai-institute.com\/wp\/2026\/11\/21\/new-self-hosting-n8n-locally-ai-assistant-setup\/","title":{"rendered":"New Self-Hosting n8n Locally + AI Assistant Setup"},"content":{"rendered":"<p><iframe loading=\"lazy\"  width=\"800\" height=\"400\" src=\"https:\/\/www.youtube.com\/embed\/t5RBVTby9EU?rel=0&#038;modestbranding=1\" frameborder=\"0\" allowfullscreen><\/iframe><br \/>\n<br \/>Self-hosting n8n used to mean a Docker Compose file, a pile of environment variables, and a sandbox you had to wire up yourself. Now it&#8217;s one command. <\/p>\n<p>This video walks through installing n8n locally from scratch, updating an<br \/>\nexisting instance, and turning on the AI Assistant with your own model API key.<\/p>\n<p>The command:<br \/>\ncurl -fsSL https:\/\/get.n8n.io | sh<\/p>\n<p>Update command used:<br \/>\ncurl -fsSL https:\/\/get.n8n.io | sh -s &#8212; &#8211;upgrade &#8211;version 2.35.3<\/p>\n<p>That single script installs n8n via Docker Compose and pre-configures the code sandbox and the private web search the AI Assistant uses. <\/p>\n<p>Both run on your own machine, and n8n itself is the free Community edition, so the only thing you pay for is the model provider you plug in. Bring an Anthropic, OpenAI, or OpenRouter key and you get the same AI Assistant experience Cloud users have had since July: describe a workflow in plain words and watch it get built, tested, and fixed.<\/p>\n<p>All you need installed first is Docker.<\/p>\n<p>TIMESTAMPS<br \/>\n0:00 What changed with n8n self-hosting<br \/>\n0:29 Installing Docker<br \/>\n0:45 Running the one-line install command<br \/>\n1:19 First login at localhost:5678<br \/>\n1:46 Updating an existing instance to a newer version<br \/>\n2:09 Connecting a provider and picking a model<br \/>\n2:53 AI Assistant settings: web search, MCP servers, permissions<br \/>\n3:32 Building a workflow from a vague prompt<br \/>\n5:25 Adding credentials and running a live test<br \/>\n6:04 Fixing a failed execution with AI<\/p>\n<p>LINKS:<br \/>\nOne-line setup docs: https:\/\/go.n8n.io\/dtQA9W<br \/>\nSet up the AI Assistant: https:\/\/go.n8n.io\/tx8yQ0<br \/>\nSelf-hosting overview: https:\/\/go.n8n.io\/trnoWq<br \/>\nInstall Docker: https:\/\/go.n8n.io\/lnRDSd<br \/>\nDocker Compose setup (for production): https:\/\/go.n8n.io\/QHmgd1<br \/>\nRead the install script before running it: https:\/\/go.n8n.io\/SW2B3a<br \/>\nOpenRouter API keys: https:\/\/go.n8n.io\/2v7ven<br \/>\nn8n community forum: https:\/\/go.n8n.io\/WOIv8r<\/p>\n<p>The AI Assistant is on by default from n8n 2.35. If you&#8217;re on an older version, the update command in the video gets you there!<br \/>\n<br \/><a href=\"https:\/\/www.youtube.com\/watch?v=t5RBVTby9EU\">source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Self-hosting n8n used to mean a Docker Compose file, a pile of environment variables, and a sandbox you had to wire up yourself. Now it&#8217;s one command. This video walks through installing n8n locally from scratch, updating an existing instance, and turning on the AI Assistant with your own model API key. The command: curl&#8230;<\/p>\n","protected":false},"author":1,"featured_media":21128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","iawp_total_views":2,"footnotes":""},"categories":[33],"tags":[25],"class_list":["post-21127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-n8n","tag-n8n-tutorial-for-beginners"],"_links":{"self":[{"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/posts\/21127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/comments?post=21127"}],"version-history":[{"count":0,"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/posts\/21127\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/media\/21128"}],"wp:attachment":[{"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/media?parent=21127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/categories?post=21127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.web-ai-institute.com\/wp\/wp-json\/wp\/v2\/tags?post=21127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}