https://dagster.io/ logo
#ask-community
Title
# ask-community
q

Qwame

06/27/2023, 2:12 AM
Hello friends, how do I connect to the graphql api to launch jobs when I use Dagster Cloud? I have tried
Copy code
from dagster_graphql import DagsterGraphQLClient

client = DagsterGraphQLClient("dagit.dagster.OUR_COMPANY_NAME")
but it doesn't seem to work. Also shouldn't there be any token or something for authorization?
🤖 1
r

rex

06/27/2023, 2:26 AM
Here’s a github discussion that shows you how to do this: https://github.com/dagster-io/dagster/discussions/7772
❤️ 1
q

Qwame

06/27/2023, 2:42 AM
Thanks @rex! curious what the difference is between
repository_location_name
and
repository_name
in
client.submit_job_execution
is?
This worked @rex. Thank you so much!