# How to create a template

## Overview

Creating a pass template is simple and quick. To do this, go to the Template section under the Wallet tab and click on "Create a new template"

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2Fpac8lmeNcGEm69agwq8q%2Fimage.png?alt=media&#x26;token=95b4c1cc-b649-4eb1-9556-0a3d9a8ce0ea" alt="How to create a template"><figcaption></figcaption></figure>

You will have several possibilities to create your template.

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FLlWiqBTkt8SOBLYbeEPL%2Fimage.png?alt=media&#x26;token=bacf522a-a866-46f7-ade7-23245b9efb50" alt="How to create a template (2)"><figcaption></figcaption></figure>

### Duplicate a template

If you click on "duplicate" you will be able to create a new template based on an existing one. It will retrieve its configuration, only the name will be different. You will then be able to modify your new template.

First of all, choose in the list the existing template you would like to duplicate and once done click on "ok".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FPtWCHGEolpjxDL2J3HTa%2Fimage.png?alt=media&#x26;token=36ee0f5f-0ec1-4c3f-ad5a-d17c5fd210b8" alt="Duplicate a template"><figcaption></figcaption></figure>

Choose a new name to create a new template based on the one you selected in the list and click on "confirm template".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2F3spRV8dtTLdgKlq9ex3n%2Fimage.png?alt=media&#x26;token=fe053cf4-aa8f-4971-8e19-c377851abaec" alt="Duplicate a template (2)"><figcaption></figcaption></figure>

{% hint style="warning" %}
**If you decide to keep the same name you will overwrite the existing template you selected and linked passes will update on their next update. If this is what you want to do, click on "I confirm overwrite".**
{% endhint %}

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FgEN2mmta3xTJsYBFQ8wJ%2Fimage.png?alt=media&#x26;token=5657ad4b-4dca-434e-9436-ca068ab36b09" alt="If you decide to keep the same name you will overwrite the existing template you selected and linked passes will update on their next update. If this is what you want to do, click on I confirm overwrite."><figcaption></figcaption></figure>

### Import a template file

You can also create a new template by importing the configuration of an existing template. For example, if you worked on a template on your staging environment and need to put it in your production environment, you can export your template configuration in staging to import it in production. **⚠️ This only works with a template file from The Wallet Crew.**

You first need to select the template you would like to export, click on the three dots on the right of the template and export configuration. You will see that a pttwc file has been downloaded.

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FV2gU9YIcSAqwLAtnMl1C%2Fimage.png?alt=media&#x26;token=854b558a-87c3-4cb6-9ec5-62bf061dfb8f" alt="Import a template file"><figcaption></figcaption></figure>

Go back to the creation of a template by clicking on "Create a new template" and choose "Import".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FFOtlIPrpyKAXxdhz8xKM%2Fimage.png?alt=media&#x26;token=2f4d64cc-239e-4fe3-a643-d31cbf179a1a" alt="Import a template file (2)"><figcaption></figcaption></figure>

Click on "Upload (template.pttwc)" and select the pttwc file you just downloaded.

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FkMTWzbwzSr2dzCKQmj0P%2Fimage.png?alt=media&#x26;token=2ec287a7-978f-4e79-b9a9-5c45f099211c" alt="Import a template file (3)"><figcaption></figcaption></figure>

Choose a new name to create a new template based on the file your imported and click on "confirm template".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FJbgJF4mxgmFQpKWNxiYu%2Fimage.png?alt=media&#x26;token=ba207538-234e-41a9-bcdc-918e3d9369f0" alt="Import a template file (4)"><figcaption></figcaption></figure>

**⚠️ If you decide to choose a template name already existing on your template list, you will overwrite the template already existing and linked passes will update on their next update. If this is what you want to do, click on "I confirm overwrite".**

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2Fgit-blob-be3834d7de54a57e4966fabedacc3e09812db27b%2Fconfigure-how-create-if-you-decide-choose-name-already-existing.png?alt=media" alt="⚠️ If you decide to choose a template name already existing on your template list, you will overwrite the template already existing and linked passes will update on their next update. If this is what you want to do, click on I confirm overwrite."><figcaption></figcaption></figure>

### Use a pre-built template

The Wallet Crew has created and centralized a template library that you can use to create your new templates based on your use case. If you use one of the pre-built template, your new template will have the same configuration as the pre-built one (colors, images, fields), and you will be able to keep the configuration or modify some elements. To access this library, after clicking on "Create a new template", select "Use a pre-built".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FdvSV8s9nhIQUu0BjCMcD%2Fimage.png?alt=media&#x26;token=c314260b-946c-4829-8a8e-3f61820e8221" alt="Use a pre-built template"><figcaption></figcaption></figure>

You have the choice between customer card, event ticket, generic, gift cards, and offer templates. Use [Type of pass](https://docs.thewalletcrew.io/configure/wallet/template-configuration/broken-reference) to pick the right starting point for your use case.

Before selecting the pre-built template you would like to use, you can see what the Apple and the Google version look like.

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FwJFZqucbGmqSrcq5C5DM%2Fimage.png?alt=media&#x26;token=9cb1ddad-8d0f-422b-ae53-c9d6b31fcfe6" alt="Use a pre-built template (2)"><figcaption></figcaption></figure>

Once you have made your choice, select your pre-built template by clicking on "Use this template".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FzfZXvfZsqXbRgiOfio5V%2Fimage.png?alt=media&#x26;token=3d4f02a6-dfd1-4352-aaae-f67f0252f9c3" alt="Use a pre-built template (3)"><figcaption></figcaption></figure>

Choose a new name to create a new template based on the pre-built one and click on "confirm template".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FYUvOz77Gopg6S7q8QQGa%2Fimage.png?alt=media&#x26;token=8037e8bd-30d3-4169-8186-aed7117c5c18" alt="Use a pre-built template (4)"><figcaption></figcaption></figure>

**⚠️ If you decide to choose a template name already existing on your template list, you will overwrite the template already existing and linked passes will update on their next update. If this is what you want to do, click on "I confirm overwrite".**

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2F9j4uAhTL7898GVD0nz9l%2Fimage.png?alt=media&#x26;token=20f427c0-4f77-4587-847e-e4d12bd4303b" alt="⚠️ If you decide to choose a template name already existing on your template list, you will overwrite the template already existing and linked passes will update on their next update. If this is what you want to do, click on I confirm overwrite. (2)"><figcaption></figcaption></figure>

### Start with AI

The Wallet Crew offers you the possibility of playing with an AI template designer to find inspiration and ideas before creating your new template. Here are a few things to know before using this tool :

* This tool is in beta mode, which means that it's brand new and may contain errors
* You need a Google account to access this feature
* The template you create in the template designer can not be exported and imported on The Wallet Crew
* The template designer is for now only in French

If you wish to use it, once you have clicked on "Create a new template", select "Start with AI".

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FPuk4wyNrSzhxGGzvWusA%2Fimage.png?alt=media&#x26;token=489949c7-de34-4424-9f6e-e963faa41949" alt="Start with AI"><figcaption></figcaption></figure>

### What's next?

You new template is now created! To modify it, find your recently created template in the list of templates. To access the Apple version, click on the corresponding logo.

From this interface, you will have the ability to customize the loyalty card according to your needs:

* Logo and colors of your company
* Customer’s name
* Primary, secondary fields
* Backfields informations
* Barcode for identification at the checkout
* Strip

**And much more.**

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FCnYKdW3TNkeVuJcEajrZ%2Fimage.png?alt=media&#x26;token=be340cc9-78f2-45ea-bf1e-034699fafb2c" alt="And much more."><figcaption></figcaption></figure>

To customize the Android version, Simply switch by clicking on "Google". You will have the ability, just like with the Apple version, to customize the fields and design of your pass template to your liking.

<figure><img src="https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2FoinGIGhFU8FyYDeGVfT9%2Fimage.png?alt=media&#x26;token=e3c666e4-a9b1-489f-86fb-1e62c1044107" alt="What&#x27;s next"><figcaption></figcaption></figure>

To learn more about how to configure a template, start with [Type of pass](https://docs.thewalletcrew.io/configure/wallet/template-configuration/broken-reference).
