Skip to main content

How to use this book

Spec v1 use cases (e.g. eOverdracht) use did:nuts and the Nuts network (gRPC). Spec v2 use cases use did:web and Discovery Services: see Implementing a Nuts v2 Use Case.

ExamplesThe usepages eOverdracht,show how eOverdracht does each step, in blue boxes marked eOverdracht. boxes; seeSee the eOverdracht leveranciersspecificatie. for the full specification. For other use cases, see their specification.

1. Set up your Nuts node

Follow the Nuts node v5.4 documentation (on Read the Docs):

  1. Running on Docker or natively
  2. Setting up your node for a network: TLS, bootstrap nodes, node DID
  3. Recommended deployment and production configuration

2. Implement the use case

  1. Set up DIDs and services: your vendor DID, a DID per care organization, endpoints
  2. Register, find and authorize care organizations: NutsOrganizationCredential, NutsAuthorizationCredential
  3. Authenticate users: login contracts, if the use case needs a user identity
  4. Request an access token: call another care organization's endpoint, and check incoming calls

API reference: Nuts node v5.4 API