# Credential Templates

### Create a credential template

Credential templates form the structure of verifiable credentials which Organisation Administrators issue to Holders. Organisation Administrators can create new credential templates by navigating to *Credentials* on the left-side menu of the SVX Portal, and selecting *Credential templates*.

After selecting the *Create credential template* button, you will be presented with a form on the left-side of the screen, and a preview of the final verifiable credential on the right. The form consists of the following fields:

* Template name
* Schema (listed are schemas made available to the Organisation by Tenant Administrators)
* Default credential card background colour
* Default credential card text colour
* Default credential card logo (Organisation Administrator can decide display a logo or not)

Once all required fields are complete select the *Create* button and the credential template will appear in a list with a designated version number.

> **Note** A schema forms the structure of the verifiable credential, allowing you to issue credentials that include information specific to a Holder.

<div align="center"><img src="https://4269219262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjJbpzCN8I6igFFpr6ws9%2Fuploads%2Fgit-blob-dfeeb3e0f2edbdad6a7905bb31a0a0404e34cdf3%2FOA_08_Create_Credential_Template.gif?alt=media" alt="How to create a credential template tutorial video." width="80%"></div>

### View and edit a credential template

Organisation Administrators can view a credential template by navigating to *Credentials* on the left-side menu of the SVX Portal, and selecting *Credential templates*. Locate the credential template in the list and select the horizontal ellipsis icon ⋯ alongside the template’s name to reveal menu options. Select *View template*. You will be presented with the following information:

* Credential preview
* Template name
* Template ID
* Schema
* Default credential background colour
* Default credential text card colour
* Default credential card logo

To edit the credential template, select *Edit template* from the horizontal ellipsis icon ⋯ alongside the template's name. The information will be presented as an editable form where you can update / change the following information:

* Template name
* Default credential background colour
* Default credential text card colour
* Default credential card logo

When complete, select *Save* to save changes, or *Cancel* to discard changes.

<div align="center"><img src="https://4269219262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjJbpzCN8I6igFFpr6ws9%2Fuploads%2Fgit-blob-2881c6e0c673a8666c91e555ba140e555ad9c960%2FOA_09_View_and_edit_Credential_Template.gif?alt=media" alt="How to view and edit a credential template tutorial video." width="80%"></div>

### Archive a credential template

To archive a credential template, navigate to *Credentials* on the left-side menu of the SVX Portal, and select *Credential templates*. Select the *Active templates* tab and locate the credential template in the list. Select the horizontal ellipsis icon ⋯ alongside the template’s name to reveal menu options. Select *Archive template* and confirm the archiving of the credential template via the modal window. The credential template will be removed from the Organisation, and will be moved to the *Archived templates* tab.

> **Note** *Archiving a credential template:* Credential templates can be reinstated if required and full functionality will be restored across the Organisation.

<div align="center"><img src="https://4269219262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjJbpzCN8I6igFFpr6ws9%2Fuploads%2Fgit-blob-8d3fc576e6339e48e2d20106b984cbbe9f5a760f%2FOA_10_Archive_Credential_Template.gif?alt=media" alt="How to archive a credential template tutorial video." width="80%"></div>

### Restore a credential template

To restore a credential template navigate to *Credentials* on the left-side menu of the SVX Portal, and select *Credential templates*. Locate the credential template in the *Archived templates* tab and select the horizontal ellipsis icon ⋯ alongside the template’s name to reveal menu options. Select *Restore* and confirm the reinstating of the credential template via the modal window. The credential template will be restored to the Organisation, and will be moved to the *Active templates* tab.

<div align="center"><img src="https://4269219262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjJbpzCN8I6igFFpr6ws9%2Fuploads%2Fgit-blob-058f8c50728cf8a5c15b706ada945d2045b71b5c%2FOA_11_Restore_Credential_Template.gif?alt=media" alt="How to restore a credential template tutorial video." width="80%"></div>
