The ds integrations commands manage third-party service provisioning — syncing Stripe products and customers, setting up Slack notifications, and ensuring external services match the application state.
DevStride uses Stripe for subscription billing. The CLI provides commands to sync product definitions, provision customers, and audit seat counts.
ds integrations stripe sync-products
Creates or updates Stripe products and prices to match DevStride's subscription tiers:
| Product | Pricing |
|---|---|
| Professional | Monthly and yearly plans |
| Business | Monthly and yearly plans |
| DevStride Free | Free tier |
Also creates corresponding DevStride product records in the database with feature limits per tier.
When to run:
# Sync all organizations
ds integrations stripe sync-customers
# Sync a specific organization
ds integrations stripe sync-customers -o org_abc123
For each organization that doesn't have a Stripe customer record:
sync-products separately.# Audit all organizations
ds integrations stripe check-quantities
# Audit a specific organization
ds integrations stripe check-quantities -o org_abc123
Exports a CSV (subscription_quantity.csv) comparing:
Mismatches are listed first for easy identification. Internal @devstride.com users are excluded from counts by default (unless an organization has overridden this).
ds integrations slack backfill-notifications
Provisions Slack notification workflows for all users:
| Workflow | Trigger |
|---|---|
| Due Date Approaching | Item due date is approaching |
| Due Date Arrived | Item due date is today |
| Overdue | Item is past due date |
Each workflow:
Also enables Slack mention mode in each user's notification configuration.
When to run: