https://prefect.io logo
Title
h

Harshal Rane

02/16/2021, 3:13 PM
Hi everyone, I have installed prefect in ubuntu 18.04 server, i am trying to setup agents to run flows in prefect.io cloud. But not able to login using this command in prefect, i have already generated PAT token from my prefect account
prefect auth login -t token
Getting below error
Usage: prefect auth [OPTIONS] COMMAND [ARGS]...
Error: Auth commands with server are not currently supported.
I am new to prefect, any suggestions from community will be really helpful
a

ale

02/16/2021, 3:15 PM
Hey @Harshal Rane, that error means that you are using Prefect Server as a backend. Try running
prefect backend cloud
and then try the auth command again
:upvote: 4
h

Harshal Rane

02/16/2021, 3:15 PM
@ale sure let me try
@ale thanks it worked
👍 2