https://prefect.io logo
Title
a

Abhishek Mitra

04/03/2023, 8:46 AM
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

redsquare

04/03/2023, 8:48 AM
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

Zanie

04/03/2023, 4:14 PM
I’d definitely recommend using
prefect cloud login
then just viewing the API URL
1
a

Abhishek Mitra

04/04/2023, 4:39 AM
Thanks @redsquare! Thanks @Zanie!