Hi everyone! I have a question regarding the conne...
# ask-community
r
Hi everyone! I have a question regarding the connection to deployed prefect server, is there a way to connect to the server I know that it was possible in previous versions of Prefect like this
Copy code
from prefect import Client
however I don't how it is possible on a newer version of prefect
b
Hey rand,
*from* prefect *import* get_client
may be what you're looking for here
but if you wouldn't mind explaining what you're trying to accomplish that would be appreciated!
r
@Bianca Hoch My company hosted prefect server and I want to write my tasks, flows and deployments to it , but doesn't seem to understand how,
b
Ah, I think I see what you're saying. Have you configured your
PREFECT_API_URL
to point to your server instance?