> ## Documentation Index
> Fetch the complete documentation index at: https://developers.lucca.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a completed course in Lucca

> Learn how to create a completed course in Lucca for all your employees. This is useful for consolidating all completed courses, regardless of where they took place—for example, courses from an e-learning LMS platform. This integration simplifies how managers and employees track completed courses and monitor skills development across various formats.

## Steps

<Steps>
  <Step title="Retrieve the training id." />

  <Step title="Create a new realized-training." />
</Steps>

***

## 1. Retrieve the training id

You can retrieve the training ID in the interface via the URL or through the API using [List trainings](https://developers.lucca.fr/api-reference/legacy/poplee-training/trainings/get-trainings-v1).

<Note>
  * If the training doesn't exist yet, follow the "Create a training" guide.
  * A new realized-training can only be linked to a training in the "ready" state.
</Note>

***

## 2. Create a new realized-training

Create a new realized training using the [Create a realized-training](https://developers.lucca.fr/api-reference/legacy/poplee-training/realized-trainings/post-realized-trainings-v2) API.
A realized training can only refer to a training in the 'ready' state with a sessionEndsOn date in the past. You cannot create two realized trainings for the same employee with the same trainingId and sessionEndsOn.
