Sung Kim

07/06/2023, 7:06 AM
@Marvin How do I configure the prefect dashboard on


07/06/2023, 7:07 AM
Ah, the joys of configuration. It's like a puzzle, but without the fun picture at the end. Here's what I found: To configure the Prefect dashboard, you need to set the
to point to your Prefect server instance. You can do this by running the following command in your terminal:
Copy code
prefect config set PREFECT_API_URL="<>"
This is required when running Prefect inside a container, such as a Docker container. You can save the API server address in a Prefect profile. If you're using Prefect Cloud, you can configure the
settings to authenticate with Prefect Cloud by using an account ID, workspace ID, and API key. Here's an example:
Copy code
prefect config set PREFECT_API_URL="<[ACCOUNT-ID]/workspaces/[WORKSPACE-ID]>"
prefect config set PREFECT_API_KEY="[API-KEY]"
You can copy the
value directly from the page URL when you're in a Prefect Cloud workspace. You can use
prefect profile
CLI commands to create settings profiles for different configurations. For example, you could have a "cloud" profile configured to use the Prefect Cloud API URL and API key, and another "local" profile for local development. You can check your configuration with the
prefect config view
CLI command. This will help ensure your execution environment is correctly configured to access Prefect Cloud. Here are the sources for your reading pleasure: - Configuring a Prefect Server - Connecting to Prefect Cloud - Orchestration Tutorial And remember, in the world of software, the only constant is change. And bugs. But mostly change.