# Add an external planning

It is possible, in GLPI, to add an external calendar so that the events of a diary can go up in GLPI (personal calendar of the diary Google, Microsoft, etc. of a technician for example). This avoids the need to schedule an intervention when the technician is already scheduled for another task but does not appear to be busy in the GLPI schedule.

It is possible to integrate any calendar that can be shared in **`.ics`**.

{% hint style="warning" %}
**Bi-directional calendar**

At this time, **it is not possible to obtain bi-directonnality** of calendars. You cannot add an event to the GLPI calendar that will then be reflected in the technician's external calendar (Google, Microsoft, etc.).
{% endhint %}

## Google

To integrate Google calendar into GLPI, it must be public:

* From your calendar, click on in the top right-hand corner.
* Then **`Settings`**.
* In **`Settings for my calendar`**, click on the calendar concerned
* In **`Access permissions for events`**, click on **`Make available to public`**.

![public agenda](/files/ZpfrBeVfqEVN3wEQz1X1)

* In **`Integrate calendar`**, copy the URL from **`Public address in iCal format`**.
* Then go to the chapter [Setup GLPI](#setup-glpi)

![public shared](/files/5Z6psz6qYiFavyuSAfGP)

## Microsoft

To integrate a calendar from Microsoft, you need to publish it. Cela rend le calendrier public. You can then choose which information will be visible.

* Go to **`settings`** at top right
* From your mailbox (Web version here), go to **`calendar`**
* Then **`Calendar`**
* And then **`Shared calendars`**.
* In the box **`Publish a calendar`**, select the calendar concerned
* Choose the type of permissions
* Cliquez sur **`Publish`**

![publish calendar](/files/xaBqjOpGkCQwBrnrABsV)

* 2 links will appear, copy the **ICS** link

![copy the ICS link](/files/2IDGAVMwRgjk3QWRiygE)

* Then go to the [Setup GLPI](#setup-glpi)

## Setup GLPI

* From Assitance > Planning
* Click in the Schedules box
* Add the necessary information, remembering to paste the link from your schedule that you copied earlier&#x20;
* Click on Add

![add calendar](/files/ZchF87vMbDedXiX93Mon)

Your calendar events are now visible in the GLPI schedule

![event calendar](/files/aJZWF3B1XxOHd5Ddpb8I)


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
