Getting Started with Cube Cloud: Upload with CLI
This guide walks you through setting up Cube Cloud and connecting to your database.
Click Create Deployment. Then give it a name and select the cloud provider and region of your choice.
The next step is to upload your existing Cube.js project to the Cube Cloud.
You can do it by running the following command from terminal in your Cube.js project directory.
npx cubejs-cli deploy --token <TOKEN>
Enter credentials to connect to your database. Consult connecting to databases guide for more details.
Now you can navigate to the Playground to try out your queries or connect your application to Cube Cloud API.
Did you find this page useful?