# How to connect user profiles with personnel ticket rights
## Overview

This guide explains how to connect personnel ticket rights to customer profiles.

---

## Before you begin

For each customer profile you want to connect to a personnel ticket right, you will need:

* The `customerNumber` for the customer's private profile
* The customer’s personal pickup code. 

The pickup code is a unique code that identifies the customer in the personnel ticket system and is used to connect the customer's profile to their ticket rights.
You can obtain the pickup code for a customer by calling

::endpoint[personnel-tickets/findTicketRightsHolders]

and reading the `ticketHolderCode` field in the response.

---

## Connecting profiles to personnel ticket rights

A personnel ticket right in the personnel ticket system has as a **validity period**.

* Validity periods **cannot extend into a new calendar year**.
* Contracts are **automatically renewed yearly** in the personnel ticket system.

To connect a customer affiliated with your organisation to a personnel ticket right, use

::endpoint[personnel-tickets/claimPersonnelTicket]

This endpoint will:

* Look up the customer based on `customerNumber`
* Connect the customer to a ticket right (contract) matching the pickup code (`externalReference`)

---

## Next steps
* Guide: [How to use personnel ticket rights in the sales process](/guides/personnel-ticket/4-using-personnel-ticket-rights)
