This guide covers how to install, configure, update, and manage nself plugins. Plugins extend nself with third-party service integrations.
Each plugin requires specific environment variables. Add them to your .env file before installing:
# Add to .env
echo "STRIPE_API_KEY=sk_test_xxx" >> .envCheck that the plugin requirements are met:
# Check plugin requirements
nself plugin install stripe --check-envRun the --check-env flag to verify all required environment variables are set before the actual installation.
# List available plugins
nself plugin list
# Install a plugin
nself plugin install stripe
# Install specific version
nself plugin install stripe@1.0.0For development or custom plugins:
nself plugin install ./path/to/my-pluginnself plugin install https://github.com/user/nself-plugin-custom.gitEach plugin requires specific environment variables. Add them to your .env file:
# Stripe Plugin
STRIPE_API_KEY=sk_live_xxx
STRIPE_WEBHOOK_SECRET=whsec_xxx
# Shopify Plugin
SHOPIFY_STORE_URL=mystore.myshopify.com
SHOPIFY_ACCESS_TOKEN=shpat_xxxThe plugin schema is applied automatically during installation. To verify:
nself plugin stripe statusSync existing data from the service:
nself plugin stripe sync# Status of all plugins
nself plugin status
# Status of specific plugin
nself plugin stripe status# Update all plugins
nself plugin update
# Update specific plugin
nself plugin update stripe# Remove plugin (keeps data)
nself plugin remove stripe
# Remove plugin and data
nself plugin remove stripe --delete-dataPlugins that support webhooks need endpoint configuration in the external service.
Your webhook endpoint is:
https://your-domain.com/webhooks/<plugin-name>For local development:
https://local.nself.org/webhooks/stripeFor Stripe:
STRIPE_WEBHOOK_SECRET# Check webhook status
nself plugin stripe webhook status
# View recent events
nself plugin stripe webhook eventsError: Plugin 'xyz' not found in registryCheck available plugins: nself plugin list
Error: Could not connect to PostgreSQLEnsure your nself project is running: nself status
Error: STRIPE_API_KEY is not setAdd the required variable to your .env file.
Error: Webhook signature verification failedEnsure STRIPE_WEBHOOK_SECRET matches the signing secret from Stripe Dashboard.
nself start)Last Updated: January 2026 | Version 0.4.8