> ## 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 training

> Learn how to create a new training with the state ‘ready’ in Lucca training.

## Steps

<Steps>
  <Step title="Create a training category in the Lucca training interface." />

  <Step title="Create a training provider in the Lucca training interface." />

  <Step title="Use the API to create a training." />
</Steps>

***

<Note>
  * Steps 1 and 2 are optional if you've already created the appropriate training category and provider.
  * If they are already created, you can retrieve their IDs via API to complete step 3.
</Note>

***

## 1. Create a training category in the Lucca training interface

A training category can only be created through the user interface in Lucca training.
You can retrieve the category ID in the interface via the URL or through the API using [List training categories](https://developers.lucca.fr/api-reference/legacy/poplee-training/trainings/list-training-categories).

***

## 2. Create a training provider in the Lucca training interface

A training provider can only be created through the user interface in Lucca training.
You can retrieve the provider ID in the interface via the URL or through the API using [List training-providers](https://developers.lucca.fr/api-reference/legacy/poplee-training/trainings/list-training-providers).

***

## 3. Use the API to create a training

Newly created trainings will have the "ready" state and won’t appear in the public catalog. You can create them using the [Create a training](https://developers.lucca.fr/api-reference/legacy/poplee-training/trainings/post-training-v1) API.
