Skip to main content

Square Cloud Services 🚀

Square Cloud has been designed from the ground up to be a developer-friendly platform. The platform is composed of various services that can be used to deploy applications quickly and securely.

Bot hosting.

Deploy your bots to Square Cloud and receive the best solutions for bot hosting. Square offers a strategic location for the most famous platforms, ensuring low latency and high availability.

Web hosting.

Deploy your web applications to Square Cloud and receive the best solutions for web hosting. We provide premium Cloudflare integration, fast DNS, and a Web Application Firewall (WAF) to ensure the best performance and security.

Serverless Storage, Blob Storage.

Store your data with Square Cloud and enjoy the benefits of serverless storage. Our storage service is designed to be simple, scalable, and cost-effective.

Database hosting.

Deploy managed MongoDB, PostgreSQL, MySQL, or Redis databases in seconds, with automatic snapshots and connection strings ready to copy into your application.

Before you begin

Square Cloud is a paid platform — an active plan is required to deploy, so your project runs on production-grade infrastructure from day one. Create your account, then select the plan that’s right for you (see what each plan includes).

Sign Up

If you’ve never used Square before, sign up to get started.

Log in

If you already have an account, log in to get started.

Upload your project 😁

You can upload your project to Square Cloud in a few simple steps, as shown below:
1

First, read the instructions about your language:

JavaScript

Python

Java

Rust

Elixir

PHP

Go

C#

Ruby

For this example, we will use the JavaScript (Node.js) language.
2

After, create your Square Cloud config file.

Next, you need to create a configuration file. Learn how in the configuration file guide.
Example of a config file for a bot
Example for website. (URL: "batman.squareweb.app")
3

And then, ZIP your project.

After creating the configuration file, you need to zip your project.
Planning to deploy via the CLI below? You can skip this step — squarecloud upload zips your project for you.

Deploy it 😉

Choose how you want to deploy: through the dashboard (upload your ZIP) or with a single command using the CLI — the same workflow developers know from other modern platforms.

Via dashboard

1

Access the Upload Page

Access the upload page and upload your project zip file.
2

Configure Your Environment

After uploading your zip, you will need to configure the name, main file or runtime environment and other settings for your project.
If you are uploading a web project, make sure to select “Web Publication” and set a subdomain to your project.
3

Deploy Your Project

Finally, click on the “Deploy” button to host your project on Square Cloud.
After deployment, you can monitor your project’s status and logs from the dashboard.
Uploading application to Square Cloud
4

Confirm Your App Is Live

Your first deploy usually takes less than a minute. In the dashboard, wait for your application status to show as running and check the logs for any startup errors.
If you deployed a website or API, open https://<your-subdomain>.squareweb.app in your browser — you should see your application responding. If you deployed a bot, send it a command to confirm it is online.
App not starting? See the Troubleshooting guide for the most common causes and fixes.

Via CLI

To use this method, you need to create a config file named squarecloud.app in the root directory of your project. This file will contain the necessary configuration for your project.

Configuration file guide

Learn how to create the squarecloud.app configuration file that defines your application’s environment.
1

Install the CLI

First, you need to have the CLI installed in your environment. If you don’t have it yet, run the following command in your terminal:
If you already have it, we recommend updating it. To do this, run the following command in your terminal:
2

Authenticate

Now, to authenticate and use other CLI commands, you will find your authorization key here by clicking on “Request API Key”. After obtaining your authorization key, run the following command:
3

Upload Your Project

Finally, to deploy your application to Square Cloud using the CLI, you need to run the following command:
Or if you created the zip manually, you can use:
4

Confirm Your App Is Live

Your first deploy usually takes less than a minute. Check your application status and logs directly from the terminal:
If you deployed a website or API, open https://<your-subdomain>.squareweb.app in your browser — you should see your application responding. If you deployed a bot, send it a command to confirm it is online.
App not starting? See the Troubleshooting guide for the most common causes and fixes.