> For the complete documentation index, see [llms.txt](https://docs.mrsherlock.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mrsherlock.ai/configuration/integrations/serrures-connectees/configuration-de-ttlock.md).

# Configuration de TTLock

TTLock se connecte à Mr Sherlock par **identifiants** : vous renseignez le **nom d'utilisateur** et le **mot de passe** associés à votre compte TTLock.

### Configuration de TTLock

{% stepper %}
{% step %}
**Lancer la connexion**

Sur la carte **TTLock** de l'onglet **Serrures connectées**, cliquez sur **Connecter**.
{% endstep %}

{% step %}
**Renseigner vos identifiants TTLock**

Dans la fenêtre **Connecter TTLock**, renseignez :

* **Nom d'utilisateur** (ex. `username@example.com`)
* **Mot de passe**

Validez en cliquant sur **Connecter**.

{% hint style="info" %}
En cas d'identifiants incorrects, Mr Sherlock affiche le message suivant : **Connexion échouée. Vérifiez vos identifiants.**
{% endhint %}
{% endstep %}

{% step %}
**Nommer la connexion (optionnel)**

Vous pouvez donner un nom personnalisé à cette connexion (par défaut : **TTLock**) pour l'identifier facilement si vous en avez plusieurs.
{% endstep %}

{% step %}
**Récupération des appareils**

Mr Sherlock récupère automatiquement la liste de vos serrures TTLock, leur niveau de batterie et leur statut en ligne.
{% endstep %}

{% step %}
**Associer chaque serrure à un logement**

Rendez-vous sur la page de détail du logement concerné pour associer une serrure TTLock à ce logement.
{% endstep %}
{% endstepper %}

### Actions disponibles sur une connexion TTLock

* **Activer / Désactiver** la connexion.
* **Synchroniser** pour mettre à jour la liste des appareils.
* **Modifier les identifiants** en cas d'erreur de connexion.
* **Supprimer** la connexion.


---

# 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://docs.mrsherlock.ai/configuration/integrations/serrures-connectees/configuration-de-ttlock.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.
