# How to use this book

Spec v1 use cases (e.g. eOverdracht) use `did:nuts` and the Nuts network (gRPC).

The pages describe Nuts node v6. Where v5 differs, a note starts with **v5:**. To upgrade, see [Migrating from v5 to v6](https://nuts-node.readthedocs.io/en/stable/pages/deployment/migration.html).

`<internal Nuts interface>` is the address of the node's internal interface, `127.0.0.1:8081` by default. **v5:** the interface you configured, `:1323` by default.

The pages show how eOverdracht does each step, in blue boxes marked **eOverdracht**. See the [eOverdracht leveranciersspecificatie](https://nuts-foundation.gitbook.io/bolts/eoverdracht/leveranciersspecificatie) for the full specification. For other use cases, see their specification. Older documentation calls a use case a *Bolt*: a specification that turns a care process into technical requirements.

## 1. Set up your Nuts node

Follow the Nuts node documentation (on Read the Docs):

1. [Running on Docker](https://nuts-node.readthedocs.io/en/stable/pages/deployment/docker.html)
2. [Configuration](https://nuts-node.readthedocs.io/en/stable/pages/deployment/configuration.html). Set `didmethods: ["nuts"]`, and manage DIDs with the APIs in this book only, not with the VDR v2 API.
3. [Join the Nuts network](https://wiki.nuts.nl/link/203) (in this book): TLS certificate, bootstrap nodes, node DID
4. [Recommended deployment](https://nuts-node.readthedocs.io/en/stable/pages/deployment/recommended-deployment.html)

## 2. Implement the use case

1. [Set up DIDs and services](https://wiki.nuts.nl/link/199): your vendor DID, a DID per care organization, endpoints
2. [Register, find and authorize care organizations](https://wiki.nuts.nl/link/198): NutsOrganizationCredential, NutsAuthorizationCredential
3. [Authenticate users](https://wiki.nuts.nl/link/200): login contracts, if the use case needs a user identity
4. [Request an access token](https://wiki.nuts.nl/link/201): call another care organization's endpoint
5. [Check an access token](https://wiki.nuts.nl/link/202): handle calls from other care organizations

API reference: [Nuts node API](https://nuts-node.readthedocs.io/en/stable/pages/integrating/api.html). The OpenAPI files there can be used to generate client code.