> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xano.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Template Assistant

> Learn how to use the Template Assistant to help build templates for AI prompts, HTML, and other more large-format data

The Template Assistant can help you build templates for AI prompts, HTML, and other more large-format data without utilizing a bulk of separate functions, and integrating dynamic data from your logic.

### Using the Template Assistant

<Steps>
  <Step title="Find the Template Assistant">
    <Frame caption="You'll find the Template Assistant in the top-right corner of the Template Engine function.">
      <img src="https://mintcdn.com/xano-997cb9ee/4xy0p5vdU3hAE_8U/images/template-assistant-20251010-164630.png?fit=max&auto=format&n=4xy0p5vdU3hAE_8U&q=85&s=2dca609ef3f9da8c924eeaf6d37fde8f" alt="template-assistant-20251010-164630" width="612" height="341" data-path="images/template-assistant-20251010-164630.png" />
    </Frame>
  </Step>

  <Step title="Tell the Assistant about the template you're trying to build">
    The Template Assistant has access to context from your logic (as long as you've run it at least once this session), so you can insert your variables, as well as inputs and environment variables, from the panel below the editor. The Assistant can help you build HTML, JSON, XML, markdown, and more, all with dynamic data from the rest of your logic.
  </Step>
</Steps>
