Sell agents and activate customer access
SIHub sells fourteen agents as monthly or annual subscriptions. The annual subscription costs twelve monthly payments minus 20%, rounded to the cent. All agents use the configured operator AI allowance. Customers' own AI accounts are not supported. Carry out the following steps on the actual SIHub server.
1. Prepare the server and private configuration
- Use the Apache/Python operation with
/etc/sihub/sihub.envor Docker with/var/www/SIHub/deploy/.env.production. The local.envapplies exclusively to the local Python app. DATABASE_URLmust point to your MariaDBSIHubdatabase, for examplemariadb+pymysql://BENUTZER:PASSWORT@HOST:3306/SIHub. Credentials remain in the protected operator file; existing values and data are kept.- Set up the public HTTPS address, session key, secure cookies and
SIHUB_PROVIDER_ENCRYPTION_KEYfor customer provider accounts. On startup, payment, license, price, usage and tutorial tables are added automatically. Check the schema. - Complete your company details, scope of services, contract terms, privacy information and invoice/tax presentation. The shop prices are created as EUR prices including VAT. Enable Stripe Tax only if the tax configuration has been set up.
2. Set up your operator account and prices
By default, new accounts can sign up immediately. For the protected operator administration, first create your operator account on a new installation. A matching email address or the “workspace owner” role does not grant operator rights. If the account is already active, skip the first command. Then deliberately set the database flag:
cd /var/www/SIHub
sudo bash apache2/install.sh manage create-admin --email [email protected] --workspace-name SIHub
sudo bash apache2/install.sh manage set-platform-admin --email [email protected]
The helper loads the private operator environment. create-admin prompts for the password without displaying it; set-platform-admin then grants operator rights to the existing active account. In Docker, use the same management commands via sudo docker compose --env-file deploy/.env.production -f deploy/compose.yml run --rm --no-deps app python manage.py.
If the active operator account already exists under the previous address, rename this account once. The password, workspace and operator rights are kept:
cd /var/www/SIHub
sudo bash apache2/install.sh manage rename-platform-admin-email --from-email [email protected] --to-email [email protected]
In Docker, for rename-platform-admin-email use the same previously mentioned docker compose ... app python manage.py-call.
Only if you SIHUB_REGISTRATION_APPROVAL_REQUIRED=1 set, new registrations trigger an approval email to [email protected]. Open the review link in it, sign in with your operator account and select Approve registration or Decline registration. The account then remains locked until it is approved. The link itself does not change anything. Open requests and the sending status also appear under /admin/platform.
For these emails, use the existing SMTP setup in /etc/sihub/sihub.env and AIHUB_PUBLIC_URL=https://sihub.at. The recipient is fixed. The Apache setup installs and enables aihub-notifications.timer for safe retries after sending errors; the Docker production template contains the corresponding notification timer. The email contains contact details and the review link, never the password.
Then open /admin/bot-store; /app/admin/bot-store is an alias. Adjust the monthly price and monthly allowance for each agent and click Save price. These initial values are prepared:
| Agent | Month | Year, paid in advance | Tokens per month |
|---|---|---|---|
| Contact | 19 € | 182,40 € | 200.000 |
| Appointment | 29 € | 278,40 € | 250.000 |
| Service | 29 € | 278,40 € | 300.000 |
| Reception | 29 € | 278,40 € | 250.000 |
| Leads | 39 € | 374,40 € | 350.000 |
| Inbox | 39 € | 374,40 € | 500.000 |
| Social media marketing | 29 € | 278,40 € | 500.000 |
| helloCash customer inquiries | 29 € | 278,40 € | 300.000 |
| helloCash closings | 39 € | 374,40 € | 500.000 |
| MeineKasse customer inquiries | 29 € | 278,40 € | 300.000 |
| MeineKasse closing preparation | 39 € | 374,40 € | 500.000 |
| Austria cash-basis tax assistant | 99 € | 950,40 € | 750.000 |
| Austria balance sheet preparation | 149 € | 1.430,40 € | 1.000.000 |
| Automaton · Self-sustaining business agent | 250 € | 2.400,00 € | 12.000.000 |
The Automaton also manages its own life account in EUR with a monthly credit (default €100, SIHUB_AUTOMATON_MONTHLY_CREDIT_EUR); the monthly allowance remains the hard token limit. Life account and operations.
Price changes apply to new purchases. Existing subscriptions keep their booked price and allowance; customized agent prompts are kept.
3. Configure Stripe and the included AI
Enter these fields only in your private operator file. Use Stripe test keys first. ModelServer is optional; SIHub can use existing operator API credentials for the included allowance:
AIHUB_PUBLIC_URL=https://sihub.at
SIHUB_COMMERCE_ENABLED=1
SIHUB_BOT_LICENSE_REQUIRED=1
SIHUB_STRIPE_SECRET_KEY=
SIHUB_STRIPE_WEBHOOK_SECRET=
SIHUB_STRIPE_PORTAL_CONFIGURATION=
SIHUB_STRIPE_AUTOMATIC_TAX=0
SIHUB_INCLUDED_AI_PROVIDER=auto
SIHUB_INCLUDED_AI_MODEL=
SIHUB_INCLUDED_AI_MAX_OUTPUT_TOKENS=1024
OpenAI or Anthropic and the models per task class can be selected under SIHub Admin → AI operations and saved there. This selection applies immediately to new model calls and takes precedence over the following environment values. Existing API keys continue to be used. Setup in the admin area
Without a saved admin selection, auto is the default; an empty or missing SIHUB_INCLUDED_AI_PROVIDER has the same meaning. SIHub first uses a fully configured ModelServer with MODEL_SERVER_BASE_URL, MODEL_SERVER_API_KEY and MODEL_SERVER_MODEL (if no model is set, the adapter default is gpt-oss-120b). It then checks the operator API credentials in this order:
| Provider | Access | Model |
|---|---|---|
openai |
OPENAI_API_KEY |
OPENAI_MODEL |
anthropic |
ANTHROPIC_API_KEY |
ANTHROPIC_MODEL |
gemini |
GEMINI_API_KEY |
GEMINI_MODEL |
groq |
GROQ_API_KEY |
GROQ_MODEL |
xai |
XAI_API_KEY |
XAI_MODEL |
custom |
CUSTOM_LLM_API_KEY and CUSTOM_LLM_URL |
CUSTOM_LLM_MODEL |
In auto mode, the key and model must belong to the respective provider. SIHUB_INCLUDED_AI_MODEL is ignored so that no model from another provider is used. A prepared ModelServer URL without a key does not block the API selection. Once ModelServer is fully set up, it is preferred after the application and bot workers have been restarted. Its URL must be reachable from both processes, for example via HTTPS or a private HTTP endpoint. The selection checks the configuration; it does not confirm a connection and does not trigger a fallback request to another provider in case of network or model errors.
For a fixed selection, set SIHUB_INCLUDED_AI_PROVIDER explicitly to one of the providers or modelserver. Then only this provider is used; SIHUB_INCLUDED_AI_MODEL can override its *_MODEL value. Missing or invalid settings for this fixed selection must be corrected. Without working operator access, agent subscriptions cannot be purchased and no model responses can be generated. The normal deployment check reports missing credentials. ModelServer, Provider accounts.
Existing private operator files are not overwritten by the update. If they still contain SIHUB_INCLUDED_AI_PROVIDER=modelserver, then for automatic selection without an admin preset, change this value to auto. Under Apache, open sudoedit /etc/sihub/sihub.env; in Docker, edit /var/www/SIHub/deploy/.env.production. Existing keys remain in this protected file. Then run the usual deploy; it takes care of the configuration check and restarts.
In the operator area /admin/bot-store after setup, for each agent click Connect to payments. SIHub creates the Stripe product and its monthly/yearly prices automatically; 26 price IDs do not have to be copied by hand. Unconnected agents and empty agent price fields in the operator environment still allow the server to start; the respective offer stays locked until it is connected. Existing offers that have not yet been edited in price management can continue to use their SIHUB_STRIPE_PRICE_BOT_<BOT>_MONTH-/_YEAR-fields from the operator environment. After you click Save price the managed price revision applies, including its synchronization. New price objects are also synchronized when switching from Stripe test mode to live mode.
Configured SIHUB_STRIPE_PRICE_*-fields must contain an actual price ID in the format price_ followed by letters and digits. Product IDs, payment links and filled-in placeholders are not suitable. Empty fields can stay empty. If only an agent's annual price is set, the matching monthly field is still missing. check-config lists the affected variable names and the expected format when there are errors, without printing their values.
If a platform plan appears in the shop as “Not currently available to order” although a price ID has been entered, check it with sudo bash apache2/install.sh manage check-platform-prices --offer standard (for Plus: --offer plus). Without --offer all stored platform prices are checked. This additional command reads the prices from Stripe and reports which properties differ, without showing keys or price IDs. For each platform plan, the shop shows the amount of the stored Stripe price ID. Required: an active monthly subscription price in the mode of the Stripe key with a positive EUR amount, per_unit, licensed and tax_behavior=inclusive. If the check reports aktuell: unspecified, the existing Stripe price can be switched to inclusive mode; for aktuell: exclusive a new price is required, whose ID is then entered in the operator file. With a restricted rk_live_-key, reading prices must be allowed. check-config only checks local formats and does not contact Stripe.
The included model remains fixed on the server side. Tokens include input, context and responses. A limited budget is reserved before each request; concurrent requests cannot exceed it. If it is unclear whether the provider completed a request, a cautious charge remains in place for operator review. Once the allowance is used up, this access stops. The monthly period starts at the time of purchase and renews monthly, even with an annual subscription. Customers' own AI accounts are disabled; existing agents also use the operator account. Telephony and voice output are not part of this text allowance.
4. Set up the webhook and customer portal
In the Stripe dashboard, under Workbench → Webhooks → Create event destination select the event source Your account, the payload style Snapshot and the API version 2026-03-25.dahlia for the destination. Then set Webhook endpoint as the destination type and https://sihub.at/hooks/stripe as the HTTPS destination. Enter the corresponding whsec_…-signing secret in SIHUB_STRIPE_WEBHOOK_SECRET and save. First use the same Stripe test environment as for the API key. Events:
checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired, customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, invoice.paid, invoice.payment_failed, charge.refunded.
Webhook processing supports both old Acacia invoices with subscription and Dahlia invoices with parent.subscription_details.subscription. Acacia destinations that are already set up can keep working; newer dashboard selections do not have to offer Acacia. The outgoing Stripe API requests deliberately stay on 2025-02-24.acacia and fetch the actual payment/subscription status. Deploy this code version to the target server before the first Dahlia test purchase. Endive and Preview have not been tested for this setup. Webhook versioning.
SIHub verifies the signature and handles retries without delivering an agent twice. Returning to the success page does not grant access. The confirmed payment and the current paid subscription status are decisive. In the Stripe customer portal, enable payment methods, invoices and cancellation at the end of the term. SIHUB_STRIPE_PORTAL_CONFIGURATION can stay empty for the default configuration; leave automatic price/plan changes in the portal turned off. A refund does not automatically cancel the subscription. Webhooks, Checkout fulfillment, Customer portal.
5. Start the application and required workers
sudo bash apache2/install.sh manage check-config
sudo systemctl restart sihub [email protected] [email protected]
sudo bash apache2/install.sh manage schema-status
sudo systemctl enable --now [email protected] [email protected]
After setting up your own mailboxes, also run sudo systemctl enable --now sihub-inbox.timer; the timer calls the mail worker about once a minute. In Docker mode, sudo docker compose --env-file deploy/.env.production -f deploy/compose.yml up -d --build --force-recreate app bot-worker updates code and environment. A plain container restart does not pick up new environment values. Details: Work orders, Inbox, Server rollout.
6. Customer flow and acceptance testing
- The customer registers their workspace and sees the introduction. If registration approval is enabled, you approve their request first. In the shop, they choose an agent and a monthly or annual subscription. Agent offers require the operator AI access to be set up.
- After the payment is confirmed, the agent appears under My agents. Text conversations automatically use the operator account. A shared plan includes the offered agents; required connections are shown as an open status.
- With an active shared subscription from Standard upward, the customer can customize the business details, tasks and knowledge of the shop agents. A single agent subscription allows use of the purchased agent. Provider, model and AI billing are managed centrally.
- Private chats and work orders can use the agent directly with a matching subscription. For public channels, the customer publishes a reviewed agent version. Specialist systems such as calendars, mailboxes, helloCash and MeineKasse need their own connections. Bookings, sending and other write actions still require explicit action approval.
- Test the normal deployment process and the payment flows in an isolated test environment. The running SIHub installation accepts only Stripe live keys, live webhooks and live prices. In production, check model responses, delivery, allowances and service status. Existing subscriptions and customer-specific agent data are preserved.
Preparation status as of 14.10.2026: code and local tests are ready. Still missing here are /etc/sihub/sihub.env and a production DATABASE_URL; the operator flag, target server services and real payments have therefore not been activated or tested live.
Pricing guidance
The starting prices are our own estimate for SIHub tasks and limited AI usage. For comparison, as of October 14, 2026: Manychat Pro lists USD 39 per month, or USD 29 per month with annual billing; Missive Starter starts at USD 14 per user/month with annual billing; Buffer Essentials at USD 5 per channel/month with annual billing. Billing unit, feature set and AI capabilities differ. Check your actual model costs and operating expenses before publishing your prices.