> For the complete documentation index, see [llms.txt](https://university.gonexa.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://university.gonexa.fr/doc/advanced-features/related-templates/link-existing-related-template.md).

# Lier un modèle de document associé existant

Dans le cas où un modèle associé doit être lié à plusieurs modèles principaux, faîtes la liaison entre les deux en fonction de l'endroit où vous vous trouvez

## Faire la liaison depuis le modèle associé

* Sur votre associé rendez-vous dans l'onglet "Modèles principaux" et trouvez la liste de tous les modèles principaux qui sont liés à ce modèle associé
* Cliquez sur "Lier à un modèle principal"
* Sélectionnez le modèle de document principal que vous souhaitez lier et cliquez sur "Choisir"
* Rafraichissez la page et trouvez un nouveau modèle principal (n) dans la liste associée

![Liaison depuis le modèle associé](https://4198981723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTYUzkIngX1MnHE8kOJDR%2Fuploads%2FGoov1BfRAkxCK3If0MaR%2F29-02-liaison-depuis-doc-associe.gif?alt=media)

* Depuis cette liste, supprimez le lien ou retournez sur le modèle principal via les boutons

![Retour au modèle principal](https://4198981723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTYUzkIngX1MnHE8kOJDR%2Fuploads%2FKRZVlhnKgy8OrKFZZ6nt%2F30-03-voir-modele-principal.gif?alt=media)

## Faire la liaison depuis le modèle principal

* Sélectionnez le modèle de document principal depuis lequel vous souhaitez ajouter une annexe
* Depuis l'onglet "Doc" accédez à la liste "Modèles associés", puis sur "Lier un modèle de document associé"
* Sélectionnez le modèle associé et cliquez sur "Choisir"

![Liaison depuis le modèle principal](https://4198981723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTYUzkIngX1MnHE8kOJDR%2Fuploads%2FVqS2LeSxepeASaAQMN5s%2F31-04-lier-depuis-doc-principal.gif?alt=media)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://university.gonexa.fr/doc/advanced-features/related-templates/link-existing-related-template.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
