> For the complete documentation index, see [llms.txt](https://help.glpi-project.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.glpi-project.org/tutorials/fr/helpdesk/planning.md).

# Ajouter un planning externe

Il est possible, dans GLPI, d'ajouter un calendrier externe afin que les événements d'un agenda puissent remonter dans GLPI (calendrier personnel de l'agenda Google, Microsoft, etc. d'un technicien par exemple). Cela évite de programmer une intervention quand le technicien est déjà programmé pour une autre tâche mais n'apparaît pas comme occupé dans le planning GLPI.

Il est possible d'intégrer tout calendrier qui peut être partagé en **`.ics`**.

{% hint style="warning" %}
**Calendrier bi-directionnel**

À ce jour, **il n'est pas possible d'obtenir la bi-directionnalité** des calendriers. Vous ne pouvez pas ajouter un événement au calendrier GLPI qui sera ensuite répercuté dans le calendrier externe du technicien (Google, Microsoft, etc.).
{% endhint %}

## Google

Pour intégrer le calendrier Google dans GLPI, il doit être public :

* Depuis votre calendrier, cliquez sur dans le coin supérieur droit.
* Puis **`Paramètres`**.
* Dans **`Paramètres de mon calendrier`**, cliquez sur le calendrier concerné
* Dans **`Permissions d'accès aux événements`**, cliquez sur **`Rendre disponible au public`**.

![agenda public](/files/1oCNWDTJxIIuhLsVsQA5)

* Dans **`Intégrer le calendrier`**, copiez l'URL depuis **`Adresse publique au format iCal`**.
* Puis allez au chapitre [Configuration GLPI](#setup-glpi)

![partagé public](/files/FNSOOwSyLmmyYAYH2Uy7)

## Microsoft

Pour intégrer un calendrier depuis Microsoft, vous devez le publier. Cela rend le calendrier public. Vous pouvez ensuite choisir quelles informations seront visibles.

* Allez dans **`paramètres`** en haut à droite
* Depuis votre boîte mail (version Web ici), allez dans **`calendrier`**
* Puis **`Calendrier`**
* Et ensuite **`Calendriers partagés`**.
* Dans la case **`Publier un calendrier`**, sélectionnez le calendrier concerné
* Choisissez le type de permissions
* Cliquez sur **`Publier`**

![publier calendrier](/files/GX0Noe4asNaiLVMpOXNH)

* 2 liens apparaîtront, copiez le lien **ICS**

![copier le lien ICS](/files/XdFqiMgIhKpzOwTx1eQM)

* Puis allez à la [Configuration GLPI](#setup-glpi)

## Configuration GLPI

* Depuis Assistance > Planning
* Cliquez dans la case Horaires
* Ajoutez les informations nécessaires, en pensant à coller le lien de votre planning que vous avez copié précédemment
* Cliquez sur Ajouter

![ajouter calendrier](/files/8vEU6AXf84kT3mKRs6jN)

Vos événements de calendrier sont maintenant visibles dans le planning GLPI

![événement calendrier](/files/2AyOM5xlmM2tYuJPnKO5)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.glpi-project.org/tutorials/fr/helpdesk/planning.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
