# Deploying the Issuer

**What We Are Doing:**

* Using the [One-Click Deployment portal](https://oneclick.empe.io/) to create an Issuer service.
* The Issuer will be able to issue Verifiable Credentials once we provide a schema.

**Why:** The Issuer is a trusted authority that creates credentials. By deploying it through the portal, we avoid manual setup and get a ready-to-use endpoint.

**Steps:**

1. Log into the One-Click Deployment platform.
2. Create a new Issuer (see [Create Issuer](https://docs.empe.io/develop/intro/create_issuer)).
3. Once active, note down necessary details. This variables can be found after clicking on the Issuer Details in the One-Click Deployment portal.
   * `ISSUER_URL` (e.g., `https://your-issuer.evdi.app`) (the URL where the Issuer is hosted)
   * `ISSUER_SECRET` (e.g., `your-issuer-secret`) (the secret used to authenticate requests to the Issuer)
4. Store these in your `.env` file so your application can access them securely:

   ```
   ISSUER_URL=https://your-issuer.evdi.app
   ISSUER_SECRET=your-issuer-secret
   ```

After storing this details in .env they will be easily accessible in your code using `process.env.ISSUER_URL` and `process.env.ISSUER_SECRET` and you can use them in your CMD or terminal to interact with the Issuer service (to use it you muse run `source .env` in your terminal).

Next, we will upload a credential schema to let the Issuer know what kind of credentials we want to issue.
