> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/presentation/using-single-template.md).

# Using single template

1. Assign your PowerPoint template to the `template` field.&#x20;
2. Two ways to do this:
   1. [Attach the file to the payload ](#attaching-powerpoint-template)
   2. [Provide a downloadable link to it](#using-a-powerpoint-template-url)

### Attaching PowerPoint Template

Reference: [presentation](/json-template-syntax/presentation.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1UQYDCNrjWs7ynDf1cuay5LDqruFO-hzu) | [output.pptx](https://drive.google.com/uc?export=download\&id=15nSoFC7eSS8V93_b9G6wkYfjo4Me-6WP)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="/files/dfykKTGTM6bExQXzSbHb" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/8v4Bf6yrHd4IaMcq7PSQ" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "cover",
            "value": "Business"
          },
          {
            "key": "subtitle",
            "value": "Joe Blogs"
          },
          {
            "key": "report_description",
            "value": "How to use Tags in PowerPoint Generator API"
          },
          {
            "key": "date",
            "value": "01 Jan"
          },
          {
            "key": "company",
            "value": "Important LTD"
          },
          {
            "key": "product",
            "value": "API"
          }
        ]
      }
    ]
  }
}
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

### Using a PowerPoint Template URL

Reference: [presentation](/json-template-syntax/presentation.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=19Y7D7cH7y46RWGn1JbPFzntQgboPQT1b) | [output.pptx](https://drive.google.com/uc?export=download\&id=1ObzAn-WGozvQgcBuaYeKvOaTlr27PA-Q)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="/files/d081KveOhwBXAPKRqUgS" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/6ihbRpiWOZtSgquWfeyw" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "https://drive.google.com/uc?export=download&id=1SJA6NG5jKV5bCM6sIqVCVJh20YM3QbTU",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "cover",
            "value": "Business"
          },
          {
            "key": "subtitle",
            "value": "Joe Blogs"
          },
          {
            "key": "report_description",
            "value": "How to use Tags in PowerPoint Generator API"
          },
          {
            "key": "date",
            "value": "01 Jan"
          },
          {
            "key": "company",
            "value": "Important LTD"
          },
          {
            "key": "product",
            "value": "API"
          }
        ]
      }
    ]
  }
}

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powerpointgeneratorapi.com/examples/presentation/using-single-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
