SHAHEER.
Guides

Who owns the code, and everything around it

What to settle before the work starts, on one page.

Ask a question

Ownership follows the agreement, not the invoice. Ask for written assignment of what was made for you, a license you can live with for anything reused, and your name on every account it runs in. The accounts matter more than the code, because that is what a handover turns on.

Sounds like this?

“The agency holds our domain”

Get it moved before anything else is discussed.

“We paid for it but we cannot see the repository”

Paid for is not the same as assigned to you.

“Everything runs in their accounts”

Accounts in your name, always, from the first day.

Is it a fit?

Assignment

The agreement assigns what was made for you, in writing.

Licenses

Anything reused comes with terms you can live with.

Accounts

Every account it runs in is in your name.

Start here. A short check lists the accounts and who still holds a key.

Check the access

What you get

Paying for it is not the same as owning it

Without a written assignment, work made by an outside party can stay with whoever made it, and you hold a license to use it.

Assignment for the bespoke part

The code written specifically for you should transfer to you in writing, on payment, named in the agreement.

A license for the reusable part

Any builder worth hiring reuses their own components, and open-source libraries are in everything.

The accounts are the real handover

Domain, hosting, repository, database, payment gateway, analytics, mail.

Ask what a handover includes

Repository access, a written runbook, environment variables and where they live, how to deploy, and who to call about the domain.

None of this needs to be adversarial

It is a short conversation at the beginning that removes a long one later.

What to settle, and when

Settle it before the work starts. Every one of these is a sentence at the beginning and a negotiation at the end, and the end is exactly when the relationship is under the most strain.

Questions we get

We paid for it. Is it not automatically ours?

Not necessarily, and it depends on the agreement and the jurisdiction. In a lot of arrangements the person who wrote it keeps it and the client gets a license, which is fine when it is deliberate.

Written assignment is what removes the doubt. Ask a lawyer to draft it; that part is their work, not ours.

Is reusing their own components a problem?

No, and it is usually to your benefit. Ask what is reused and on what license. Broad, perpetual, no per-seat charge, no expiry is the shape to look for.

What is worth avoiding is a component you cannot keep using if the relationship ends.

Which accounts should be in our name?

Domain, DNS, hosting, repository, database, payment gateway, analytics, and the mailbox everything sends from. You as owner, the builder invited in.

This is the single most useful thing on the page. Everything else is recoverable; a domain in somebody else's account is not, quickly.

What should a handover contain?

Repository access, a written runbook covering deploy and rollback, the list of environment variables and where they are stored, any third-party accounts, and a named contact for the domain.

Agree the list at the start. Requested at the end it reads as a demand; agreed at the beginning it reads as a plan.

See also · Preparing for a raise · How to write an AI policy

Read next

The build or buy question that comes first, how an engagement here is scoped, and what the two kinds of build involve.

Send one question from your work.

A specific answer within one business day.