It’s the JSON file used to configure Sync Gateway, usually called config.json
. There’s an object in that which contains an entry for every database to serve; you would add the above snippet inside the entry for the database(s) you want to enable this feature for.
The SG docs have more info on the config file, if you want to learn more.