> For the complete documentation index, see [llms.txt](https://ai2sql.gitbook.io/ai2sql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai2sql.gitbook.io/ai2sql/13.-templates/13.1.-custom-template-creation.md).

# 13.1. Custom Template Creation

Creating a custom template allows you to define your unique SQL structures, making it easier to generate specific queries by merely filling in the placeholders. Follow this step-by-step guide to craft your custom template.\ <br>

<figure><img src="https://3005060795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9oPPpXcfNXETmlVmVUd%2Fuploads%2FAEEFclN7bneZPBVa9m7S%2FXnip2023-08-12_16-56-15.jpg?alt=media&amp;token=b52f35ae-7c16-404e-a767-a3f5f91521d1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3005060795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9oPPpXcfNXETmlVmVUd%2Fuploads%2FNdR7XZnTvxpO3XLIpqBE%2FXnip2023-08-12_16-59-07.jpg?alt=media&amp;token=f6e06ce0-0aa6-4e59-9a14-4fa671916420" alt=""><figcaption></figcaption></figure>
