Introduction
- This article guides you through creating and hosting a EvolutionAPI 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 on your account. You can view our plans and purchase one according to your needs here.
Creating EvolutionAPI
- First, we need to download the files of EvolutionAPI from GitHub. We already have all files prepared here, just download
project.zip. You can also see their official repository here. - Now we need to set some configs on the
.envfile. You need to set a database, Redis if you want to cache some data and configure server port and the URL. - The server port needs to bem set to
80, set the desiredsquareweb.appsubdomain url and the database URL.
PostGreSQL with Prisma
Learn how to connect a PostGreSQL hosted on Square Cloud with Prisma.
- Check the envs examples available in the repositories to configure your application. You can go directly here
Building and preparing
- You need to run the following command to execute the migrations needed.
- Windows
- Linux
- After, you can deploy on Square with the commands needed to generate prisma, build and start.
Uploading the Project to Square Cloud
After preparing your project files, you can now upload them to Square Cloud and host your project.You need to load the environment through code. The code in our repository already do this.
- Upload via Dashboard
- Upload via CLI
Access the Square Cloud Dashboard and upload your project files.


