# How to Access the VC System and Generate Tokens

After the successful creation of a tenant by the system admin, the tenant will receive an email with a default username and password, along with a link for logging in to the tenant system.

## Steps

* Open the web browser.&#x20;
* In the address bar, enter the URL provided for the tenant management system.
* Enter your login credentials: Username and password.
* Tenant users need to log in with the default password and email Id as the username.&#x20;
* Next, click on login.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FeRA2RXXZrmOny5GsyshS%2FScreenshot%202023-02-14%20at%2012.44.36%20PM.png?alt=media&#x26;token=2acdac49-bb8a-4f09-b209-240b5c25887d" alt=""><figcaption></figcaption></figure>

* DIVOC sends a verification email to change the password.
* Change the password for security reasons.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FetMwu7DOxsHyaJrHl5uq%2FScreenshot%202023-02-14%20at%202.15.31%20PM.png?alt=media&#x26;token=09892ae5-3ff9-4305-bfd3-b94c671e407e" alt=""><figcaption></figcaption></figure>

* Once a user clicks on the verification link, he/she is redirected to the reset password screen.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FGb93JVJoyxTPHXLweXb7%2FScreenshot%202023-02-14%20at%202.16.40%20PM.png?alt=media&#x26;token=4f6848c4-fdc8-4df2-addb-702f53e8bcea" alt=""><figcaption></figcaption></figure>

* Reset with a new password by entering it in the “Enter New Password” box (case sensitive).
* Retype the new password in the “Confirm password” box.&#x20;
* Click on the ‘Reset’ button.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FMJcQYV997fSuUGq1oVz0%2FScreenshot%202023-02-14%20at%202.18.25%20PM.png?alt=media&#x26;token=cc35912c-4aa2-4389-a7b5-4b2113356f3c" alt=""><figcaption></figcaption></figure>

* After the password is successfully reset, the user will be redirected to the home screen.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FmCiy74kOLM5Ib9sCzccL%2FScreenshot%202023-02-14%20at%202.19.27%20PM.png?alt=media&#x26;token=262345e3-d50d-4b86-8b8f-73f5f512d097" alt=""><figcaption></figcaption></figure>

* The user can now log in to the tenant portal using the new credentials.

## Token Generation

* For verifiable credential (VC) generation services, a tenant needs to use the API services of the VC component.
* The API calls are secured with the token. A tenant can generate the token using the following steps:

&#x20;     \- Log in to the tenant system and go to the home page.&#x20;

&#x20;     \- Click on the “Generate Token” button for token generation.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2F67oIhGXTmpx5dakGSPlP%2FScreenshot%202023-02-14%20at%202.20.34%20PM.png?alt=media&#x26;token=7fe81276-0c6c-4e6f-a106-21f2aaafb4db" alt=""><figcaption></figcaption></figure>

* Once generated, the user can click on the ‘Copy’ or ‘Download’ button to copy/download the token for further use.
* This token will be used for making API requests.
* Note: The current generated token has an expiry date of one year.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FMUvhoKd9dis8m8DdPKPt%2FScreenshot%202023-02-14%20at%202.20.46%20PM.png?alt=media&#x26;token=5331b559-cea4-4c3f-bb04-f6788d35786e" alt=""><figcaption></figcaption></figure>

[![Creative Commons License](https://i.creativecommons.org/l/by/4.0/80x15.png)](http://creativecommons.org/licenses/by/4.0/)*All content on this page by* [*eGov Foundation*](https://egov.org.in/) *is licensed under a* [*Creative Commons Attribution 4.0 International License*](http://creativecommons.org/licenses/by/4.0/)*.*
