Hi! We are using Prefect v2 and are having issues ...
# ask-community
a
Hi! We are using Prefect v2 and are having issues regarding setting up the
PREFECT_API_URL
variable. Maybe there's a knowledge gap. Can somebody let me know where I would find
ACCOUNT_ID
and
WORKSPACE_ID
? And is there a way to validate the URL beforehand? Thanks.
r
If you log into the UI you can see those items in the url - or use prefect cli to login and get them
1
z
I’d definitely recommend using
prefect cloud login
then just viewing the API URL
1
a
Thanks @redsquare! Thanks @Zanie!