Harshal Rane

    Harshal Rane

    1 year ago
    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
    ale

    ale

    1 year ago
    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
    Harshal Rane

    Harshal Rane

    1 year ago
    @ale sure let me try
    @ale thanks it worked