<@ULVA73B9P> I have a prefect cloud account. what ...
# marvin-ai
j
@Marvin I have a prefect cloud account. what do i need to do to send my flows not to the local prefect server but to prefect cloud? i'd like to do it via setting some env vars
m
thought for 50.1 seconds
As an alternative to setting environment variables manually, you can also use:
Copy code
bash
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:
Copy code
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?
k
the env vars that matter for this are
PREFECT_API_URL
and
PREFECT_API_KEY