Getting Started
Ductwork Pro is a commercial product with a paid license. This guide walks you through account setup, checkout, installation, and migrations.
1. Create an account
Section titled “1. Create an account”Sign up at getductwork.io.
During registration, you can optionally specify an organization name. If you skip this, a “Personal” organization is created automatically.
Once your account is active, you can invite team members to your organization. Any member can provision authentication tokens.
2. Complete checkout
Section titled “2. Complete checkout”Choose your billing cycle:
- Monthly: pay as you go
- Yearly: get two months free
See Pricing for current rates. Payments are handled by Stripe.
3. Provision a token
Section titled “3. Provision a token”After checkout, you’ll land on your dashboard where you can create authentication tokens for Bundler. Each token consists of a key (prefixed with dw_) and a secret.
⚠️ Important: The secret is displayed only once. Copy it immediately and store it in a password manager.
Token strategies
Section titled “Token strategies”You can create as many tokens as you need:
| Strategy | Use case |
|---|---|
| Per-developer | Revoke access when someone leaves the team |
| Per-environment | Separate tokens for production, CI, and local development, etc. |
| Shared | Single token for small teams or simple setups |
4. Configure Bundler
Section titled “4. Configure Bundler”You have two main options for authenticating with the Ductwork Pro gem server.
Option A: Global Bundler config (recommended)
Section titled “Option A: Global Bundler config (recommended)”Configure credentials once for all projects on your machine:
bundle config set --global https://gems.getductwork.io <TOKEN_KEY>:<TOKEN_SECRET>Option B: Per-project Gemfile
Section titled “Option B: Per-project Gemfile”Reference credentials directly in your Gemfile. Don’t commit secrets in plaintext. Use environment variables instead:
source "https://#{ENV['DUCTWORK_KEY']}:#{ENV['DUCTWORK_SECRET']}@gems.getductwork.io" do gem "ductwork-pro"end5. Install
Section titled “5. Install”Add Ductwork Pro to your Gemfile if you haven’t already:
source "https://gems.getductwork.io" do gem "ductwork-pro"endThen install:
bundle install6. Run the generator and migrate
Section titled “6. Run the generator and migrate”Ductwork Pro adds its own tables and adds columns to the open-source ones, so run the ductwork:install generator and its migrations first if you haven’t already.
Then generate the Pro migrations and run them:
bin/rails generate ductwork:pro:installbin/rails db:migrateIf you set the database configuration, move the generated migrations into that database’s migration_paths directory before migrating.
You’re all set.