> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/agency-hosting/databases/create-website-database.md).

# Create website database

Creates a MySQL database with a dedicated user for an Agency Plan website. The database name, username, and password must all be provided by the caller.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/agency-hosting/v1/websites/{website\_uid}/databases" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
