EduChat is for schools as much as for their teachers and pupils. This guide explains how a school opens access to its pupils, deploys tutors, keeps its budget under control and is billed — and how everyone finds their place in it. Pupils themselves have nothing to install, no account, no key.
Three roles, three simple pathways. Common rule: the IP serves to recognise the school (access, quotas, invoice), never to authorise management — that always requires a verified account whose attachment is re-read from the database (protection against IP spoofing, see below).
On /etablissement, self-service (once attached by the admin):
Quotas are expressed in tokens, the AI's billing unit (as a rough guide, one question + answer ≈ 1,000 to 3,000 tokens depending on length).
The IP identifies the school for access, quotas and the invoice. So that nobody can spoof a school's IP (and spend its budget), EduChat trusts the address it is given only if the connection really does come from its trusted proxy — proven by a shared secret. A direct request claiming to come from a school is brought back to its true address, which matches no school.
Management (the « My school » page) never rests on the IP: it requires the manager's account, whose attachment is re-checked on every request. A recognised IP therefore gives no management power at all — only pupil access.