GraphQL integration
Hasura DDN GraphQL integration for Draftbit
Federate multiple data sources behind one GraphQL endpoint
What is Hasura DDN?
Hasura DDN federates multiple data sources behind a single GraphQL supergraph. Add a JWT from your auth provider to scope queries by role.
Use Hasura DDN with Draftbit
- Schema discovered automatically via GraphQL introspection.
- Queries, mutations, and subscriptions usable across screens and AI agents.
- Auth headers configured once and reused for every operation.
- Works with custom Hasura DDN schemas and federated graphs.
Example
hasura-ddn-query.graphql # Example query against Hasura DDN
query GetItems {
items(limit: 10) {
id
name
createdAt
}
}Use cases
- Power a mobile app with a hosted database and APIs
- Add search, filtering, and pagination to a list-driven feature
- Read and write app data without managing your own server
Authentication
Add any required auth headers when you connect Hasura DDN. Headers are stored per app and applied to every operation.
Use Hasura DDN in a Draftbit app today
Use Draftbit to build your app, configure Hasura DDN, and test the feature before publishing.
Frequently asked questions
What is the Hasura DDN GraphQL integration?
Hasura DDN federates multiple data sources behind a single GraphQL supergraph. Add a JWT from your auth provider to scope queries by role.
How do I connect Hasura DDN to a Draftbit app?
In your Draftbit app, go to Integrations and then GraphQL and choose Hasura DDN. Enter the endpoint URL and any auth headers. Draftbit introspects the schema and exposes its operations to your app and to the AI agents.
Do I need to write GraphQL queries by hand?
No. Once Draftbit has introspected the Hasura DDN schema, you can bind components to operations visually, and the AI agents can compose queries against the live schema.
What can I build with Hasura DDN and Draftbit?
Most teams use Hasura DDN as a backend platform for their app. You might use Hasura DDN to power a mobile app with a hosted database and APIs, or to add search, filtering, and pagination to a list-driven feature.