# Published Templates

## Introduction

DBSync Cloud Workflow allows you to publish any task as a template for repetitive use. These templates can be published as private or public templates. The templates that you publish in DBSync Cloud Workflow are stored in a central repository that you can access from the DBSync Cloud Workflow platform. By leveraging these customized templates, you can quickly implement custom integration scenarios without the need to develop a mainstream integration technique. This enables you to set up automated workflows as per your requirements and needs.

## Process

### Upload a Template

1. Follow the steps to create a [Task](https://docs.mydbsync.com/cloud-workflow/ipaas/functional-concepts/task).&#x20;
2. Once you finish building the task, click Settings and click **Upload Template** to create the customized task as a template.

<figure><img src="https://1036205596-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv9avy716UiAsS24zOznZ%2Fuploads%2FwuMsgf39j8XpNgZiSXDv%2Ftemplate%20library.png?alt=media&#x26;token=0fbb6996-dc5e-4a2a-b1c6-1f73d8ed2c12" alt=""><figcaption></figcaption></figure>

3. Specify the Name of the template and the version number, and click **Save**.

{% hint style="info" %}
**NOTE:** You can enable the **Save Credentials** checkbox to save the credentials of the connectors which is used in the specific template.&#x20;
{% endhint %}

<figure><img src="https://1036205596-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv9avy716UiAsS24zOznZ%2Fuploads%2Fu7YXAu3naWDgJtvZoexT%2Ftemplate%20library1.png?alt=media&#x26;token=aeedf268-7f98-463d-b46d-0e6e10ad79ff" alt=""><figcaption></figcaption></figure>

4. You will be redirected to the Templates page to verify the specifics of your newly created template.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeU-p-KsRtnT9MrOVh-ieqj-pSfXMbiADeVSXPZFTEnarATzJ5__5DGgBfjHaSyM13OVCLh4nASmgLhZrxwg_gbvH0c9PzoXV2OP3ybdb2kgsDfuuUxySGdA_fOtaEkI9xMqefwnEoDv3ikN1dn2JPJv1yt?key=rexD3tNzfx5EdPfY1j2-Cw" alt=""><figcaption></figcaption></figure>

Expand each template to view the following fields;

* **Version Number:** Displays the version number of the template.
* **Status:** Displays the status of the template - if it is available as Publish for marketplace or Internal Template Library.
* **Owner:** Displays the name of the user who created the template.
* **Created On:** Displays the date the template was created.
* Action: You can choose to **Download** the template or **Request a Review.**

{% hint style="info" %}
**NOTE**

Each task will have a version number and can be viewed by expanding the task name row. Each version can be sent to the marketplace or published as an internal template, or shared with others.
{% endhint %}

### Publish a Template

You can perform these actions for each version of the Template;

* **Publish for Marketplace:** This option enables the user to publish the template to the marketplace/global template library, where the template can be accessed by any DBSync Cloud Workflow platform user across organizations.

{% hint style="info" %}
**NOTE:** To do this, the user needs to go through the **Template Review** process, which will be reviewed by **DBSync Admins**.
{% endhint %}

* **Publish to Internal Template Library:** This option enables the user to publish the template within the organization level to other team members.
* **Activate/Deactivate a Template:** This option enables the user to publish/unpublish the template from the marketplace.
* **Request Review:** This option enables the user to submit the Template for a review process in which the created template will be reviewed by DBSync App Center Admins.&#x20;
* **Cancel Request Review:** This option enables the user to cancel the **Request Review** by clicking the dropdown action - **Cancel Request.**
* **Share template:** This option enables the user to share the template with another user by entering the email address of the recipient. Additionally, the template can be shared via a link.&#x20;
* **Download Template:** This option enables the user to download any particular version of the task by clicking the download icon which will be downloaded as a zip file to the user’s local system.
* **Reuse Templates:** This option enables the user to import any particular version to any existing or to a new project by clicking on the ’![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfRXBbIOFUmuwPhzE0pcx0-8rCKPZGMXCrwmallpd4TIQaXfNycKPjzuYQOKjmWMx8TJtmmFdaUDYUfkQ6aYdSW57MIIx1FHoR7iKLkhMQWc926-kl3c1uqBDZdn-Fj-KicpL7HDt8VCcI2Jtf4mc7kQV_x?key=rexD3tNzfx5EdPfY1j2-Cw)’ icon on the action column.
* **User permissions for Publishing a Template:** Publish for Marketplace and Publish as Internal Template features are permission-based. If the DBSync App Center admin allows any of the users with these 2 permissions, then the feature is active for the respective users.
