# How to Connect Dialogflow to a Database

> To connect Dialogflow to a database in Dialogflow, go to the left-side panel and click 'Fulfillment'. Next, switch on the webhook toggle, paste your webhook URL, and enter required information like Basic Auth and Headers. Finally, review your input and click 'Save'.

Canonical: https://livedemo.ai/tutorials/how-to-connect-dialogflow-to-a-database/
Apps: Dialogflow
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a3371ab56e05a00fd79a6/preview?step=1

## Steps

1. Go to the left-side panel and click 'Fulfillment'.
2. After that, switch on the toggle button next to the 'Webhook' option.
3. Paste the webhook URL into the given input field. Make sure that behind it has a fully configured and deployed server to work properly.
4. Subsequently, provide the other required information, such as Basic Auth and Headers. Enter them into their respective input fields.
5. Once done, review your input and click 'Save'.
6. After completing these steps, your Dialogflow agent will be connected to the selected database.
