Skip to main content

Credential Templates

In Hovi Studio, a credential template defines the structure, data fields, and format for creating credentials. By using credential templates, you can standardize the credential issuance process across your ecosystem, ensuring consistency and uniformity in the credentials issued. Templates can be assigned to any tenant and can be reused within the ecosystem.

note

We support several credential types per ecosystem. For more information, please refer to Hovi Support Matrix.

This guide walks you through the process of creating and managing credential templates in Hovi Studio.

Prerequisites

Before creating a credential template, ensure the following:

  1. You are registered with the Hovi Studio.
  2. You have completed the onboarding process, which includes creating an ecosystem.
  3. You have an active tenant within your ecosystem.

Steps to Create a Credential Template

To create a Credential Template, follow these steps:

  1. Use your credentials to log in to your Hovi Studio account.

  2. In the Hovi Studio dashboard, locate and click on the “Credential Templates” tab from the left-hand navigation menu.

  3. Click the “Create Template” button at the top-right corner of the Credential Templates page.

  4. From the dropdown, select “Create new template”.

  5. You will be prompted to fill in the following fields to define your credential template:

    1. Image (Optional): Upload an image or logo for the template.

    2. Template Name: Provide a name for your template (e.g., Education Certificate, Proof of Employment).

    3. Version: Specify the version of the template.

    4. Credential Type: Select the type of credential, such as JSON-LD or AnonCred.

    5. Schema Type: Define the type of schema.

      note

      These fields may change depending on the ecosystem you are using. For example, in the Sovrin, Indicio, and Cheqd ecosystems, instead of “Schema Type,” you may see a “Tag” field.

    6. Tenant: Select the tenant which will be associated with this template.

    7. Category: Categorize the template for easier management (e.g., education, employment, healthcare).

    8. Description: Add a brief description to explain the use case or purpose of the credential template.

    9. Schema Attributes: List the data fields required for the credential (e.g., Name, Date of Birth, Issuer, etc.).

  6. Once all required details are entered, click “Create Template” to create the template.

A new template will be created.

Manage Credential Templates

After creating a template, you can manage it from the Credential Templates page. Here’s what you can do:

  1. View Templates: All credential templates within your ecosystem are listed here. You can click on any template to view its details.

  2. Copy Template ID: Each template has a unique Template ID. You can click the copy icon next to the Template ID to copy it for reference or API use easily.

  3. Search and Filter Templates: You can search for specific templates by name or filter by categories.

  4. Delete Templates: Remove templates that are no longer needed by clicking the delete icon next to the template.

Import a Credential Template

If you have an existing credential template (e.g., from another tenant), you can easily import it:

  1. In the Credential Templates tab, click “Create Template”.

  2. Select “Import existing template” from the dropdown.

  3. Fill in the following details and click “Import Template” to reuse the template in your Hovi Studio ecosystem.:

    1. Credential Type: Select Credential Type.

    2. Tenant: Select the tenant which will be associated with this template.

    3. Category: Categorize the template for easier management (e.g., education, employment, healthcare).

    4. Schema Id/URL: Enter the schema ID of the schema that you want to import.

      note

      The term Schema ID/URL varies in meaning depending on the ecosystem in use:

      • For Cheqd, Sovrin, and Indicio, the Schema ID refers to the identifier that is registered on the ledger. If you have an existing Schema ID or URL from any of these ecosystems, you can easily import and reuse it within the Hovi platform.

      • For OpenID and Privado, the Schema ID/URL points to the schema’s context link hosted on IPFS. This link serves as the reference for the schema structure stored.

    5. Description: Enter template description.

A new template will be imported successfully.