Skip to main content
In this quickstart you will learn how to create, issue, and verify credentials.

What are credentials?

A digital credential is an electronic record issued by a trusted source that certifies specific information about a person or entity. Crossmint makes it easy to issue, manage, and verify credentials onchain, following the W3C VC standard. For a comprehensive guide on Verifiable Credentials, please visit the Verifiable Credentials section.
Verifiable Credentials is an Enterprise feature. Contact Sales for access.

Integration steps

1. Create a Developer Account

To get started, create a developer account in the Crossmint Staging Console. Open that link, sign in, and accept the dialog to continue.
Crossmint offers two consoles: staging, for development and testing, and production.

2. Get an API Key

Once you log in to the console, the next step is to create an . Click the "Integrate" tab and click on the "API Keys" option on top. Within the “Server-side keys” section, click the “Create new key” button in the top right. Then, check the scopes credentials.create, credentials.read, and credentials:templates.create under the “Verifiable Credentials” category and create your key. Save this key for the next step.

3. Create a Credential Template

To mint a credential, we need to create a credential template that follows an already defined credential type. In this quickstart we will use the already-created CourseCompletionCertificate type.
createTemplate.js
JSON
Save the id from the response as your TEMPLATE_ID for the next step.

4. Issue a Credential

Now, let’s issue a credential using our template:
issueCredential.js
JSON
Save the credential id from the response for the next step.

5. Retrieve a Credential

To retrieve a credential:
getCredential.js
JSON

6. Verify a Credential

To verify a credential’s validity:
verifyCredential.js
JSON

7. Revoke a Credential (Optional)

If needed, you can revoke a credential:
revokeCredential.js
JSON

Learn More

For more detailed information about Verifiable Credentials, please visit the dedicated Verifiable Credentials section which includes comprehensive guides on:

Create Credential Types

Learn how to define the structure of your credentials.

Create Credential Templates

Create reusable templates for your credentials.

Issue Credentials

Issue credentials to users.

Verify Credentials

Verify the authenticity of credentials.