This is a very basic guide, just to understand what’s needed to set it up.
If you have any questions you can find me at 8355095016fddbe31fcf1453b26f613553e9758cf2263e190eac8fd96a3d3de9

Prerequisite

Setup static file on server

Create a file that resolves to \<domain\>/.well-known/nostr.json, and fill it out like this (enter the name you want to use, and input your own public key, make sure its the HEX-key):

{
  "names": {
    "<name>": "<pubkey>"
  }
}

Setup CORS permissions

For nostr-clients to be able to execute the file, you have to allow CORS on your webserver.
On nginx you just have to put something like this in the config:

add_header 'Access-Control-Allow-Origin' '*';

Setup branle/nostr

In branle, go to settings and fill inn your <name>@<your topdomain> in the “NIP-05 Identifier” field.
branle

Go you your profile. If everything worked out, you will see a checkmark next to your name (based on your domain).
branle

Usual problems

  • CORS: Make sure CORS is correctly set up. You can test it here: https://www.test-cors.org/
  • Pub-key: Only use the HEX-key. Npub-key won’t work.