I'm in the process of trying to deploy prefect in ...
# ask-community
m
I'm in the process of trying to deploy prefect in a test environment and I'm at the point where the instructions in /getting-started tell me to run
prefect server create-tenant --name default
. I get that when deploying as a standalone service you need to create the tenant, unfortunately this command appears to be expecting prefect to be visible on localhost, which it is not. Is there some variable I was supposed to export to get the local CLI to see the remote prefect server?
1
k
Do you have access to the server in any way? You can create the tenant without the CLI using the graphql API
Copy code
mutation($input: create_tenant_input!) {
    create_tenant(input: $input) {id}
}
with
Copy code
{
  "input": {
    "name": "default",
    "slug": "default"
  }
}
m
Sure, I have full root in this environment, though in evaluating a technical solution I do have to grade whether or not the tools work, so I was hopeful to use the provided CLI utilities.
teasing apart the helm files it looks like I was missing
PREFECT__CLOUD__API
1