Getting Started
Quickstart

Quickstart

This guide walks you through deploying your first application (Superset) using the Onvera CLI. The entire process takes less than 10 minutes.

Prerequisites

Step 1: Install the CLI

Install the Onvera CLI using the installation script:

curl -fsSL https://onvera-downloads.s3.amazonaws.com/cli/install/install.sh | sh

The installer automatically detects your architecture and installs the appropriate binary.

Verify installation:

onvera version

You should see the CLI version number.

Step 2: Authenticate

Authenticate with Onvera using browser login:

onvera auth login
ℹ️

This command:

  1. Opens your browser to the Onvera login page
  2. Prompts you to authenticate and approve CLI access
  3. Stores your API key locally for future commands

Alternative: API Key Authentication

If you prefer to use an API key directly:

onvera auth login --token onv_sk_live_...

Or paste interactively:

onvera auth login --key

Step 3: Deploy Superset

Deploy your first Superset instance:

onvera deploy superset --name "My First Superset"

The --name flag is optional. If omitted, Onvera generates a name automatically.

ℹ️

What happens:

  1. Onvera creates a Deployment resource
  2. Returns a Deployment ID and Operation ID
  3. The CLI polls for completion, showing progress updates
  4. Deployment typically takes 5-10 minutes

Example output:

Creating superset deployment...
Deployment created: dep_550e8400-e29b-41d4-a716-446655440000
Operation ID: op_660e8400-e29b-41d4-a716-446655440001
Polling for completion...
Press Ctrl+C to stop polling (deployment will continue)
Status: provisioning_db - Provisioning database (45s elapsed)
Status: provisioning_infrastructure - Creating infrastructure (2m 14s elapsed)
Status: waiting_for_subdomain - Configuring subdomain (4m 32s elapsed)
Status: ready - Deployment ready (6m 15s elapsed)

Deployment succeeded!
💡

You can press Ctrl+C to stop polling. The deployment continues in the background. Use the Operation ID to check status later.

Step 4: Inspect Your Deployment

View details about your deployment:

onvera inspect dep_550e8400-e29b-41d4-a716-446655440000

Example output:

Deployment ID: dep_550e8400-e29b-41d4-a716-446655440000
Name: My First Superset
App Type: superset
Status: ready
URL: https://my-first-superset-abc123.onvera.io
Created: 2024-01-20T12:00:00Z

Step 5: List All Deployments

View all deployments in your organization:

onvera ls

Example output:

ID                                    NAME                APP TYPE    STATUS
dep_550e8400-e29b-41d4-a716-446655440000  My First Superset  superset    ready
dep_660e8400-e29b-41d4-a716-446655440001  Production Airflow airflow     ready

Next Steps

Troubleshooting

⚠️

If you encounter issues:

What's Next?

You've successfully deployed your first application! Learn more about: