Julius Faber
08/05/2025, 12:08 PMMarvin
08/05/2025, 12:08 PMMarvin
08/05/2025, 12:09 PMbash
prefect cloud login
This command will prompt you for your API key and automatically configure your environment.
Once you've set either the environment variables or used the login command, all your flows will automatically communicate with Prefect Cloud instead of a local server.
To verify your connection, you can run:
bash
prefect cloud workspace ls
If you want to switch back to local development at any point, you can either:
1. Unset the environment variables
2. Or use prefect cloud logout
Would you like me to help you with any specific part of this setup process?Kevin Grismore
08/05/2025, 1:14 PMPREFECT_API_URL
and PREFECT_API_KEY