Install and first run
DropNow is a command-line tool that runs on a machine inside your own environment: a server, a scheduled job runner or a laptop that can reach your database.
DropNow is open source under the Apache-2.0 licence. The code is on GitHub, so you can read exactly what it does before it touches your data.
What you need
Section titled “What you need”- Node.js 20 or newer. Check with
node --version. - A DROP account. You generate an API key in the DROP portal. Start with a sandbox key.
- Access to your consumer data. Postgres or a CSV export today.
- Your 4-digit Data Broker ID, shown in your DROP account.
Install
Section titled “Install”npm install -g dropnowThis puts the dropnow command on your path. Check it:
dropnow --versionTo update later, run npm update -g dropnow.
Run DropNow without installing it by putting npx in front of each command:
npx dropnow --versionIn scheduled jobs, pin the version so a new release never runs unattended:
git clone https://github.com/mileschandler/DropNow.gitcd DropNownpm installnpm run buildnpm linknpm link makes the dropnow command available in your terminal. Check it:
dropnow --versionSet it up
Section titled “Set it up”-
In the folder you will run DropNow from, create a starter config, then edit it. See Configuration for every field.
Terminal window dropnow initIt writes
dropnow.config.json, set to the DROP sandbox, and never overwrites a config that is already there. -
Put your secrets in environment variables. They are never read from the config file.
Terminal window export DROPNOW_API_KEY="your DROP API key"export DROPNOW_PG_URL="postgres://user:password@host:5432/database" -
Check that your hashing matches DROP’s. Hash a test value and compare it with the standardization and hashing tool in the DROP sandbox:
Terminal window # KA18MT/ph6IHYjzT9zwETySDQyvSh87YuoSBpOQtkhE=
Run a cycle
Section titled “Run a cycle”Run these in order:
dropnow pull # download the next batchdropnow match # find matches (reads only)dropnow apply # dry run: shows what would changedropnow apply --execute # delete and opt outdropnow upload # report statuses to DROPdropnow status # where you stand against the deadlineIf DROP is still preparing your lists, pull says so. Run it again a minute later.
Start in the sandbox. When you are ready for real requests, set "environment": "production"
in the config and switch to your production API key.
- Configuration: connect your own tables.
- Commands: what each command does and prints.
- Safety rules: what DropNow refuses to do, and why.