Issuing Credentials
Who is an Issuer?
The issuer is the entity responsible for creating and issuing credentials within the AIR Credential ecosystem. It defines Schemas, issues Verifiable Credentials, and manages the lifecycle of credentials.
How does it work?
As an Issuer, you are responsible for issuing Verifiable Credentials to users. Follow these steps to integrate and manage the credential issuance process.

Step 1: Set Up the Issuance System
Access the Issuance Widget SDK:
Download and integrate the Issuance Widget SDK into your application environment.
Refer to the SDK documentation to connect it to your backend system.
Define Schema:
Use the Dashboard to define the schema for the credentials you intend to issue.
Specify the attributes to be included (e.g., name, age, nationality, etc.).
Set up schema compliance to ensure compatibility with Verifiable Credential standards.
Step 2: Collect User Data
Determine Data Collection Method:
If You Already Have User Data:
Pass the user data to the Issuance Widget SDK as input parameters.
If You Do Not Have User Data:
Custom Data Collection: Integrate your data collection process or connect existing systems to gather user data.
zkTLS Integration: Use zkTLS to fetch user data from designated sources securely. The encrypted data will be passed to the SDK for processing.
Step 3: Generate Verifiable Credentials
Retrieve Schema:
The Issuance Widget SDK automatically requests the credential schema from the backend system.
Generate Verifiable Credential:
Based on the schema and user data, the SDK generates a Verifiable Credential.
Step 4: Issue Verifiable Credentials
On-Chain Issuance:
Use the Issuance Widget SDK to send a request to the Issue Node, completing the on-chain issuance process.
Encrypt and Store Data:
The SDK encrypts the credential and user data separately.
Encrypted data is stored in the decentralized storage.
Step 5: Manage Issued Credentials
Access the Dashboard:
Use the Issuer Dashboard to view and manage issued credentials.
Revoke Credentials (If Needed):
In cases where credentials need to be invalidated, use the Revoke function in the Dashboard.