# Deploying the Verifier

**What We Are Doing:**

* Creating a Verifier service using One-Click Deployment.

**Why:** The Verifier ensures that presented credentials are valid, coming from a trusted Issuer, and meet the required criteria. It automates cryptographic checks and provides a simple API.

**Steps:**

1. In the One-Click Deployment platform, create a new Verifier.
2. Once active, note down necessary details. These variables can be found after clicking on the Verifier Details in the One-Click Deployment portal.
   * `VERIFIER_SERVICE_URL` (e.g., `https://your-verifier.evdi.app`) (the URL where the Verifier is hosted)
   * `VERIFIER_CLIENT_SECRET` (e.g., `your-verifier-secret`) (the secret used to authenticate requests to the Verifier)
3. Store these in your `.env` file so your application can access them securely:

   ```
   VERIFIER_SERVICE_URL=https://your-verifier.evdi.app
   VERIFIER_CLIENT_SECRET=your-verifier-secret
   ```

After storing these details in .env, they will be easily accessible in your code using `process.env.VERIFIER_SERVICE_URL` and `process.env.VERIFIER_CLIENT_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 configure a verification flow in our backend.
