1. You can login on the CLI from your browser using OAuth2.
{{ lightdash_domain }}
is the address for your running Lightdash instance. For example Lightdash cloud users in the US would type lightdash login https://app.lightdash.cloud
if you’re in Europe you’d typelightdash login https://eu1.lightdash.cloud
.This will open a new tab in your default browser. Log in to your Lightdash account (if you’re not already logged in), then authorize the lightdash-cli client.Once authorized, you’ll be logged in and ready to use the CLI.2. If you use your email + password in the browser, login with your email and password.
{{ lightdash_domain }}
is the address for your running Lightdash instance. For example Lightdash cloud users in the US would type lightdash login https://app.lightdash.cloud
if you’re in Europe you’d typelightdash login https://eu1.lightdash.cloud
.3. If you use single sign-on (SSO) in the browser, login with a personal access token.
https://my-lightdash.domain.com
is the address for your running Lightdash instance. For example Lightdash cloud users in the US would type lightdash login https://app.lightdash.cloud
if you’re in Europe you’d typelightdash login https://eu1.lightdash.cloud
.4. If you're running in a CI/CD pipeline, login with environment variables
Proxy-Authentication
header value
{{ lightdash_domain }}
is your domain. For Lightdash Cloud users use https://app.lightdash.cloud
LIGHTDASH_PROJECT
environment variable to indicate what project UUID the command should use.
Example: