https://prefect.io logo
Title
l

Leela Surya Teja Mangamuri

04/24/2023, 6:47 PM
I have already logged into my workspace
1
r

redsquare

04/24/2023, 7:12 PM
you need the url and token as env vars
l

Leela Surya Teja Mangamuri

04/24/2023, 7:13 PM
what is the command?
don't these get configured automatically
?
PREFECT_PROFILE='default' PREFECT_API_KEY='********' (from env) PREFECT_API_URL='https://api.prefect.cloud/api/accounts/{removed}/workspaces/{removed}-' (from profile) PREFECT_CLOUD_UI_URL='https://app.prefect.cloud/' (from profile) PREFECT_LOGGING_LEVEL='DEBUG' (from profile)
prefect config view gave me the above things
l

Leela Surya Teja Mangamuri

04/24/2023, 7:20 PM
But they have been configured right?
r

redsquare

04/24/2023, 7:20 PM
Those environment variables must be added within the agent environment