# How to publish templates on the Wascer Store from GitHub

> Connect your agency's GitHub and publish, edit, deactivate or delete your agency's templates in the Wascer Store catalogue.

In **Agency** > **Store**, your agency publishes its own GTM templates (tags, variables and clients) to the Wascer Store catalogue from GitHub repositories, and follows how they perform.

## Before you start

The whole team can see the page, but only the Owner and Administrators can connect GitHub and publish, edit or delete templates.

## Connect GitHub

1. Under **GitHub connection**, click **Connect GitHub**.
2. Authorize access on GitHub. You come back to the Store.

The connection shows the connected GitHub account and the date it was connected. A revoked connection shows the **Revoked** badge.

## Publish a template

1. Click **Publish template**. The button shows when there is an active connection.
2. Fill in the **Title**, up to 160 characters.
3. Choose the **Type**: Server Tag, Server Variable, Server Client or Web Tag.
4. Choose the **GitHub connection** and the **Repository**. Use the search to find the repository.
5. Under **Icon**, click one of the icons in the grid. Clicking the chosen icon again clears it, and the template uses the type's icon.
6. Under **Descriptions**, if you want, add one text per language with the language buttons, such as **+ pt-BR** and **+ en**, up to 200 characters each. You can publish without a description and add one later.
7. Click **Publish**.

Under **Published templates**, each template shows its type, status, likes and the **Has documentation** or **No README** badge. Filter by All, Active, Deactivated or Blocked, or search by title.

## Edit, deactivate or delete

- **Edit:** changes the title, icon and descriptions. To use another repository, choose **Change repository**. To take the template off the catalogue without deleting it, turn off **Active in the catalogue**.
- **Delete:** the template leaves the catalogue and can't be restored. If you only want to take it down for a while, deactivate it instead.

A template **Blocked** by Wascer moderation shows the reason, when there is one, and can't change repository.

## Disconnect GitHub

When you click **Disconnect** and confirm, the templates published through that connection are deactivated and leave the catalogue until you reconnect. They are not deleted.

## Common problems

- **"The GitHub connection expired. Reconnect to continue.":** click **Connect GitHub** again.
- **"The connection can't access this repository.":** check on GitHub that the connection has access to the repository.
- **"Only the agency owner or an admin can publish and edit templates.":** ask an Administrator or the Owner.

To see how clients find templates, read [how to find and download templates](https://wascer.com/pl/helpdesk/wascer-store/encontrar-e-baixar-templates).

Source: https://wascer.com/helpdesk/agencias-parceiras/publicar-templates-na-wascer-store
