Getting Started with Cube Cloud: Import GitHub repository
This guide walks you through setting up Cube Cloud and connecting your Cube project to your database.
Navigate to cubecloud.dev, and create a new Cube Cloud account.
Create Deployment button. This is the first step in the deployment
creation. Give it a name and select the cloud provider and region of your
Next up, click the Import from a GitHub repository button. This will pop open a GitHub app authorization dialog where you must first install the Cube Cloud GitHub app to the desired organization. After authorizing Cube Cloud to access your GitHub repository, you should see the following screen in Cube Cloud:
Select your repository and the desired branch to use as the default. If the repository is a monorepo, you should also provide the path to the Cube project within it.
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:
In the UI it'll look exactly like the image below.
If you run into issues here, make sure to allow the Cube Cloud IPs to access your database. This means you need to enable these IPs in your firewall. If you are using AWS, this would mean adding a security group with allowed IPs.
Step four in this case consists of generating a data schema. Start by selecting
the database tables to generate the data schema from, then hit
Cube Cloud will generate the data schema and spin up your Cube deployment. With this, you're done. You've created a Cube deployment, configured a database connection, and generated a data schema!
You're ready for the last step, running queries in the Playground.
Now you can navigate to Playground to try out your queries or connect your application to Cube Cloud API.
Did you find this page useful?