# Wirtwerk > Gästeclub, Bewertungen, Kampagnen und KI-Assistent für Restaurants. ## Connect An agent connects as a person's bot: the person opens one link, approves in Wirtwerk with MFA and picks what the bot may do. 1. POST https://wirtwerk.diginery.com/oauth2/register, JSON {"client_name": "YOUR NAME", "token_endpoint_auth_method": "none"} -> client_id. 2. POST https://wirtwerk.diginery.com/oauth2/device_authorization, form client_id=CLIENT_ID&bot_name=YOUR_NAME&scope=tickets%3Aread (read tickets) -> send the reply's message (it holds the link) to the person in this reply. 3. Next turn: POST https://wirtwerk.diginery.com/oauth2/token, form grant_type=urn:ietf:params:oauth:grant-type:device_code&client_id=CLIENT_ID&device_code=DEVICE_CODE, every interval seconds until access_token and refresh_token. Refresh before expires_in: https://wirtwerk.diginery.com/llms/connect.txt. ## Read next - [screens](https://wirtwerk.diginery.com/llms/screens.txt): 2 screens: their URLs and who may open them - [api](https://wirtwerk.diginery.com/llms/api.txt): the records and endpoints an agent reaches over REST and MCP - [tickets](https://wirtwerk.diginery.com/llms/tickets.txt): report a bug, a UX problem or a missing feature; search existing tickets first Machine contracts: OpenAPI https://wirtwerk.diginery.com/openapi.json; domain model https://wirtwerk.diginery.com/.well-known/app-spec.json.