Skip to content

Quick Start

Get from zero to verifying your first credential in under 10 minutes. This guide walks you through setting up the Partisia Verifier and Issuer, issuing a test credential, and verifying it.

  • Docker and Docker Compose installed
  • A valid Partisia Platform license
  • curl or a similar HTTP client
  1. Clone the starter repository

    Terminal window
    # TODO: Replace with actual repository URL
    git clone https://gitlab.com/partisia/did-quickstart.git
    cd did-quickstart
  2. Configure your license

    Terminal window
    # TODO: Replace with actual license configuration steps
    cp .env.example .env
    # Edit .env with your license key
  3. Start the services

    Terminal window
    docker compose up -d

    This starts the Issuer, Verifier, and Registry services. Wait for all services to be healthy:

    Terminal window
    docker compose ps
  4. Issue a test credential

    Terminal window
    # TODO: Replace with actual curl command for issuance
    curl -X POST http://localhost:9201/issuance/oid4vci/new-session \
    -H "Content-Type: application/json" \
    -d '{
    "credentialConfigurationId": "example-credential"
    }'

    You should receive a response with an issuance session URL.

  5. Verify the credential

    Terminal window
    # TODO: Replace with actual curl command for verification
    curl -X POST http://localhost:9202/presentation/oid4vp/new-session \
    -H "Content-Type: application/json" \
    -d '{
    "dcqlQuery": { "credentials": [] }
    }'

    You should receive a response with a verification session URL and the verified credential data.