A data use agreement (DUA) is the contract that sets what student data your app may collect, who may see it, how long you keep it and how you destroy it. Most commit you to five engineering duties, typically deletion within 30 to 90 days of contract end and breach notice within 72 hours or less.
What is a data use agreement with a school district, and what does it require from my app?
What a DUA is and who signs it
A DUA is the agreement between a school district and anyone outside the district who receives student records: a vendor, a university research team, or a grant-funded startup running a pilot. Under FERPA, a district can share education records with an outside party acting as a school official or conducting a study for the district, but only under written terms that limit use, redisclosure and retention. The DUA is where those terms live.
Many states add their own student privacy laws on top, and many districts now use a standard template, such as the National Data Privacy Agreement from the Student Data Privacy Consortium, with a state-specific exhibit. If you are a university team, your IRB approval and your institution’s own agreement usually sit alongside the district DUA.
District counsel and your institution’s counsel or compliance office sign off on the agreement. This page describes what the clauses commonly ask for and what each one means for your software. It is not legal advice, and the wording in your DUA is what binds you.
Typical clauses and the engineering each implies
The effort column is our general estimate for a small React, Firebase or AWS app built by a research team. It moves up when data is spread across many services or when the app was never designed to delete anything.
| Clause | What it typically says | What your app must do | Typical effort |
|---|---|---|---|
| Permitted use and minimization | Collect only what the study or service needs; no advertising or profiling | A written data inventory; remove unused fields and third-party analytics | 8–16 hours |
| Retention | Keep data only for the study period or contract term | A retention date per record or dataset, and a job that enforces it | 10–20 hours |
| Deletion and return | Return or destroy data within a set window, often 30–90 days, with written certification | A deletion script that reaches the database, file storage, logs and backups, plus a deletion log | 16–40 hours |
| Subprocessors | List every third party that touches data; notify the district before adding one | An inventory of hosting, auth, email, AI model and analytics providers with their data terms | 4–10 hours |
| Breach notification | Notify the district within a set time, often 72 hours or less, with specified details | Access logging, alerting and a written incident plan with named contacts | 12–24 hours |
| De-identification | Strip or code identifiers before analysis or publication | Pseudonymous IDs, a separately held key and an export that removes direct identifiers | 16–40 hours |
| Security controls | Encryption, role-based access, staff training, sometimes an audit right | Encryption at rest and in transit, least-privilege roles, MFA for staff accounts | 10–30 hours |
Deletion is the clause research code fails most often
A prototype usually deletes a student from the main table and leaves copies in file storage, exported CSVs, error-tracking tools and nightly backups. A deletion you can certify needs a map of every place data lands and a script that clears each one. Backups usually get a stated expiry rather than surgical deletion, and the DUA should say so.
Subprocessors now include AI model providers
If student text or audio goes to a hosted language model, that provider is a subprocessor. Districts ask whether the provider keeps the data or trains on it. Record the account settings and contract terms that answer that, and send only the fields the prompt needs.
Breach notice depends on logs you already have
You cannot report what was accessed in 72 hours if you never logged access. Admin actions, exports and bulk reads should be logged, kept apart from the application database, and readable by someone who is not the original developer.
De-identification for research data
Most DUAs separate operational data, which the app needs to run, from research data, which the PI analyzes. The cleanest design keeps them apart from the first day.
- Give each student a random study ID at enrollment and keep the ID-to-name key in a separate store with tighter access.
- Log interaction events against the study ID only, never against name, email or district student number.
- Treat free text, audio and screenshots as identifying until reviewed; students type their names into answer boxes.
- Suppress small groups in reports, since a class of four with one subgroup can identify a child.
- Build the research export as code that can be rerun, so the dataset your analyst gets is the same one the DUA describes.
This is also what makes an efficacy study possible. Clean, consistently keyed event logs are the dataset; patching identifiers out after the pilot costs more and leaves gaps.
Worked example: a 20-teacher pilot in two districts
Suppose a team has a working prototype and a pilot starting in eight weeks. Both districts send DUAs and a security questionnaire. A realistic sequence:
- Week 1: data inventory and subprocessor list, 8–12 hours. This is the document district IT reads first.
- Weeks 1–3: study IDs, separated key store, removal of unused fields and analytics, 20–35 hours.
- Weeks 2–4: retention dates, deletion script across all stores, deletion log, 16–30 hours.
- Weeks 3–5: access logging, alerting, MFA for staff, incident plan, 12–20 hours.
- Weeks 5–6: answers to the questionnaire and a short technical disclosure describing all of the above, 6–10 hours.
That totals roughly 60–100 engineering hours. At our hourly rate of $85, that is $5,100–$8,500, which belongs in the proposal as its own line rather than inside general development. The range rises when the prototype stores data in several places nobody has mapped.
We have done this on a compressed clock: we took a research prototype to a district-approved classroom pilot in under 30 days, with 20 teachers across two districts and more than 100 framework-compliant problems generated.
What to have ready before a district sends its DUA
- A one-page data inventory: every field, why you collect it, where it is stored.
- A subprocessor list with each provider’s data terms.
- A diagram of where data flows, including AI providers and backups.
- Your retention and deletion procedure, with the window you can actually meet.
- Your incident plan and the named person who notifies the district.
- Your IRB protocol, if you are a university team, so the DUA and the protocol describe the same data.
Districts negotiate less when your documents already match their template. Commit only to windows your software can meet; a 30-day deletion promise with no deletion script is a breach waiting to happen.
Frequently asked questions
Is a data use agreement the same as a data privacy agreement?
Districts use the terms loosely. A data privacy agreement usually covers a vendor providing a service, while a research DUA covers a study. Many pilots need both or one combined document, and district counsel decides which applies.
How long does a district take to sign a DUA?
It varies widely, from a couple of weeks for a district with a standard template to a full semester for one that reviews each agreement individually. Having your data inventory, subprocessor list and security answers ready before you ask shortens it. Start the conversation as soon as the pilot is planned.
Does using OpenAI or another AI model break a DUA?
Not necessarily, but the provider counts as a subprocessor and must be disclosed. Districts want to know whether the provider retains student data or trains on it, and what the account settings and contract say. Send the model only the fields the task needs.
What does deletion certification actually involve?
A written statement that you destroyed the district’s data, usually within a set window after the contract or study ends. To sign it honestly you need a script that clears the database, file storage, logs and exports, and a stated expiry for backups. Keep a log of when deletion ran and what it covered.
Can I keep de-identified data after the DUA ends?
Some agreements allow it and some do not, and the definition of de-identified varies. Read the clause and confirm with your institution’s counsel and the district. If retention is allowed, keep the identifying key destroyed and document how the dataset was produced.
Related answers
Facing a district DUA before your pilot?
We offer a free 30-minute review of your pilot plan or the technical section of your proposal. Bring the prototype’s repository or a demo, your pilot timeline, the district’s DUA or questionnaire, and your funder’s requirements. Start a conversation.