> 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 %}
