Cube Logo0.33.4

Import a local project to Cube Cloud with CLI

This guide walks you through setting up Cube Cloud, importing an existing Cube project from a local machine via SSH, and connecting to your database.

Click Create Deployment. Then give it a name and select the cloud provider and region of your choice.

Cube Cloud Create Deployment Screen

Microsoft Azure is available in Cube Cloud on Premium tier. Contact us for details.

The next step is to upload your existing Cube project to the Cube Cloud.

You can do it by running the following command from terminal in your Cube project directory.

npx cubejs-cli deploy --token <TOKEN>
Cube Cloud Upload Project Screen

Enter your credentials to connect to your database. Check the connecting to databases guide for more details.

Want to use a sample database instead? We also have a sample database where you can try out Cube Cloud:


FieldValue
Hostdemo-db.cube.dev
Port5432
Databaseecom
Usernamecube
Password12345
Cube Cloud Setup Database Screen

Now you can navigate to the Playground to try out your queries or connect your application to Cube Cloud API.

Cube Cloud Playground

Did you find this page useful?