Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. How to configure the new n8n AI Assistant Code Sandbox (Service URL & API Key) on Cloudron?

How to configure the new n8n AI Assistant Code Sandbox (Service URL & API Key) on Cloudron?

Scheduled Pinned Locked Moved N8N
16 Posts 4 Posters 1.3k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • robiR robi

    Did you read the docs above?

    Use the .env file

    firmansiF
    firmansiF
    firmansi
    wrote on last edited by
    #6

    @robi already done that, that's why i asked the question about the Service URL and API Key, since what i understand from the documentation that if it's already included in the instalation then the service url and api key already there in written in .env, but if i have to add manually then what should i fill in the .env configuration

    1 Reply Last reply
    0
    • jamesJ james

      Hello @firmansi

      I will have to look into this.
      A quick read of https://docs.n8n.io/deploy/host-n8n/configure-n8n/set-up-ai-assistant makes me think this might need an extra service.

      andreasduerenA
      andreasduerenA
      andreasdueren
      App Dev CA Maintainer Super Fan
      wrote on last edited by
      #7

      @james yes looks like you need to implement a sandbox environment in the package

      1 Reply Last reply
      0
      • firmansiF
        firmansiF
        firmansi
        wrote on last edited by
        #8

        @james is there any update if this possible in N8N package in Cloudron, there's also a new development in N8N that there's a feature called Agent, but I also don't see how this can be done in Cloudron

        1 Reply Last reply
        1
        • jamesJ
          jamesJ
          james
          Staff
          wrote on last edited by
          #9

          Hello @firmansi
          I still need to look into this.

          firmansiF 1 Reply Last reply
          0
          • jamesJ james

            Hello @firmansi
            I still need to look into this.

            firmansiF
            firmansiF
            firmansi
            wrote on last edited by
            #10

            @james hai, is there any update regarding to this, is it doable with Cloudron?

            1 Reply Last reply
            0
            • firmansiF
              firmansiF
              firmansi
              wrote last edited by
              #11

              @james I am so sorry for asking you this again, is the Sandbox already built in in recent N8n update in Cloudron

              1 Reply Last reply
              1
              • jamesJ
                jamesJ
                james
                Staff
                wrote last edited by
                #12

                Hello @firmansi
                There are currently other issues at hand.

                1 Reply Last reply
                0
                • jamesJ
                  jamesJ
                  james
                  Staff
                  wrote last edited by
                  #13

                  The sandbox can't run inside the app: upstream's runner is privileged Docker-in-Docker.
                  You can use Daytona (hosted), or run the n8n sandbox service on a separate Docker host and point n8n at it.

                  Env example for Daytona:

                  export N8N_INSTANCE_AI_MODEL=anthropic/claude-opus-4-8
                  export N8N_INSTANCE_AI_MODEL_API_KEY=<llm-api-key>
                  export N8N_INSTANCE_AI_SANDBOX_ENABLED=true
                  export N8N_INSTANCE_AI_SANDBOX_PROVIDER=daytona
                  export DAYTONA_API_URL=https://app.daytona.io/api
                  export DAYTONA_API_KEY=<daytona-api-key>
                  
                  robiR 1 Reply Last reply
                  0
                  • jamesJ james

                    The sandbox can't run inside the app: upstream's runner is privileged Docker-in-Docker.
                    You can use Daytona (hosted), or run the n8n sandbox service on a separate Docker host and point n8n at it.

                    Env example for Daytona:

                    export N8N_INSTANCE_AI_MODEL=anthropic/claude-opus-4-8
                    export N8N_INSTANCE_AI_MODEL_API_KEY=<llm-api-key>
                    export N8N_INSTANCE_AI_SANDBOX_ENABLED=true
                    export N8N_INSTANCE_AI_SANDBOX_PROVIDER=daytona
                    export DAYTONA_API_URL=https://app.daytona.io/api
                    export DAYTONA_API_KEY=<daytona-api-key>
                    
                    robiR
                    robiR
                    robi
                    wrote last edited by
                    #14

                    @james You could if using sysbox runtime.

                    It gives Docker the ability to run things it cannot with the default runtime and shifts the container toward the more isolated VM side.

                    Enables DinD too.

                    Docker acquired Nestybox, makers of sysbox.

                    Frequency tech & energy mastery

                    firmansiF 1 Reply Last reply
                    1
                    • robiR robi

                      @james You could if using sysbox runtime.

                      It gives Docker the ability to run things it cannot with the default runtime and shifts the container toward the more isolated VM side.

                      Enables DinD too.

                      Docker acquired Nestybox, makers of sysbox.

                      firmansiF
                      firmansiF
                      firmansi
                      wrote last edited by
                      #15

                      @robi is it mature stack? or relatively new one

                      robiR 1 Reply Last reply
                      0
                      • firmansiF firmansi

                        @robi is it mature stack? or relatively new one

                        robiR
                        robiR
                        robi
                        wrote last edited by
                        #16

                        @firmansi Yes, was mature before the acquisition. Feel free to search the forum for 'sysbox' to see the trail.

                        Frequency tech & energy mastery

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search