Skip to main content

Introduction

  • This article guides you through creating and hosting a n8n application on Square Cloud.
  • Before getting started, make sure you have an account on Square Cloud, which can be done through the sign up page. You can use your email to create an account.
  • Finally, you need to have an active paid plan with at least 4GB RAM on your account. You can view our plans and purchase one according to your needs here.

Creating the Project

  • First of all we need an javascript environment. To do this, we need a package.json.
  • The package.json must contain on dependencies field the n8n and must have the scripts to start it. Here’s the example:
package.json
We already have everything ready for deploy on our repository here. You just need to download the project.zip and upload it.

📁 Necessary Files

The following files are necessary in your zip:
  • package.json
  • .env (optional)

⚙️ Configuration File

  • You need to configure runtime environment to Detect manually and set it to NodeJS. In a squarecloud.config or squarecloud.app will look like this:
squarecloud
  • The MEMORY value above follows the platform’s sizing rules — see why RAM minimums exist if you want to tune it.
  • Next, we need to set 2 environment variables, N8N_HOST and N8N_PORT in a .env file or in the Square Cloud environment on the upload menu. Their values must be 0.0.0.0 and 80.
.env

Uploading the Project to Square Cloud

After preparing your project files, you can now upload them to Square Cloud and host your project.
Access the Square Cloud Dashboard and upload your project files.
Uploading application to Square Cloud

Final Considerations

That’s it! Your n8n instance is now live at my-n8n-subdomain.squareweb.app, ready for you to start building your automation workflows.

Contact us

If you continue facing technical difficulties, our specialized support team is available to assist you. Contact us and we’ll be happy to help you resolve any issue — support quality is a big part of why developers rate Square Cloud 4.9/5 across 402 reviews on Google and Trustpilot.