Skip to main content
Version: v2.x

Add a Hasura GraphQL Data Connector Agent to Metadata

To use a custom Hasura GraphQL Data Connector Agent, follow the following steps in the Hasura Console to add it to the Hasura GraphQL Engine metadata. Before following the steps, make sure the custom connector is deployed and accessible.

  1. Navigate to the Data tab in the project's Console.

    Hasura GraphQL Data Connector Agent diagram
  2. Click on the Manage button.

    Hasura GraphQL Data Connector Agent diagram
  3. Click on the Data Connector Agents button.

    Hasura GraphQL Data Connector Agent diagram
  4. Click on the Add Agent button.

    Hasura GraphQL Data Connector Agent diagram
  5. Enter the values for agent name and agent URL. You can also choose to put the agent URL in an environment variable instead and use that variable name here. Click Connect and you're done!

    Hasura GraphQL Data Connector Agent diagram
  6. Once the above is done, the new driver supported by the custom connector will be available as one of the options in the Connect Database page.

    Hasura GraphQL Data Connector Agent diagram