Skip to content
SIHub Guides
Select language
Guides/Provider
SIHub · Guides

Set up live providers

More agent connections

Outlook/Microsoft 365, internal CRM, HubSpot/Zendesk, OneDrive/SharePoint/Google Drive with OCR, DHL, finAPI/tax firm export and WhatsApp/Slack are set up via the Agent connections workflow. Setup and scope.

sevdesk, Shopify and MeineKasse for agents

Open Integrations → Business connections (/app/business-connections). An owner or admin creates the connection there and can assign it to a tax client. SIHub verifies access directly with the provider and stores the secret encrypted in the workspace. Only the generated read action appears in the agent editor; the API key is not shown there.

Source Setup Read scopes
sevdesk Enter the API token of the matching account Invoices, receipts and contacts, each paginated
Shopify Enter the shop domain and complete the Shopify authorization; alternatively, an existing Admin API token can be verified Orders and products, each paginated
MeineKasse Create a tax client in the tax area and set up the existing server-bound tax export with the operator POS receipts via the existing import and private tax work order

For Shopify authorizations, the operator sets up a Shopify app with read_orders, read_products and, for customer data, read_customers scopes. The private operator environment contains SIHUB_SHOPIFY_CLIENT_ID, SIHUB_SHOPIFY_CLIENT_SECRET and a public HTTPS address as AIHUB_PUBLIC_URL. The app's exact redirect URL is <AIHUB_PUBLIC_URL>/api/business-connections/shopify/callback. Fehlt diese Konfiguration, zeigt die Oberfläche die Freigabe als nicht verfügbar an; der Weg mit einem bereits vorhandenen Admin-API-Token bleibt nutzbar. Die Freigabe verwendet einen ablaufenden Offline-Zugang, der vor Agentenabrufen erneuert wird. Nach langer Inaktivität kann die Erneuerungsfrist verstreichen; dann zeigt die Verbindungsseite eine erforderliche Prüfung an. Eine erneute Shopify-Freigabe für denselben Shop aktualisiert die bestehende Verbindung und erhält ihre Agenten- und Mandantenzuordnung. Shopify OAuth, Admin API

Shopify's read_orders scope only provides orders from the last 60 days by default. Older orders require additional approval for read_all_orders access. The current SIHub authorization does not request this additional permission. Shopify order permissions

For another agent go to the agent editor, open Actions and select the generated read action, enable Use actions in work orders and, with a suitable subscription, start a manual private live work order. The work order adopts the current agent configuration without publishing. The Austrian tax assistant automatically receives the verified connections of the selected tax client in its private live work order. A connection without a client assignment does not appear there. Removing the connection revokes the agents' access.

These APIs provide source data. An agent can read and explain them; the connection alone does not import sevdesk or Shopify records into tax records, reconcile payments, or prepare tax returns. The MeineKasse import remains the existing, separate process in the tax area.

PayPal and Klarna for agents

Under Integrations → Business connections (/app/business-connections), an owner or admin can connect PayPal with a REST app client ID and secret, and Klarna with an API key. For both providers, the matching test or live environment and, for Klarna, the region must be selected. Access is verified against the provider during setup and then stored encrypted in the workspace. API keys do not appear in the agent editor or in responses of the connection API.

The connection creates a read action. PayPal agents can use the Transaction Search API to read one page of transaction data covering a UTC period of at most 31 days. The PayPal app needs the permission reporting/search/read; PayPal points out that new transactions may appear in search with a delay. Klarna agents can use the Settlements API to read pages of payouts and related transactions. The Klarna key needs access to this API. A successful connection verifies API access; the account binding is based on the client ID for PayPal and on the key for Klarna, since empty settlement lists do not provide a reliable merchant identifier.

In the agent editor, assign the generated action under Actions to the agent, enable Use actions in work orders and start a private live work order. If you assign the connection to a tax client, it is also available for that client's private tax work order. The agents cannot create, capture or refund payments via these connections. Connected merchant accounts and permissions must be set up in PayPal or Klarna; SIHub does not provide credentials for this.

AI credentials, provider and model come exclusively from the operator environment. Customers use the central access automatically. Business system connections remain set up in your own workspace. Details are available under Central AI access.

LLM provider

Provider Required operator variables
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 / Grok XAI_API_KEY, XAI_MODEL
Custom compatible provider CUSTOM_LLM_API_KEY, CUSTOM_LLM_MODEL, CUSTOM_LLM_URL

Set a model that is actually available in your provider account. The central model is defined by SIHUB_INCLUDED_AI_PROVIDER and the matching operator model variable; customers cannot change it. The “configured” catalog indicator additionally requires such an operator default. The custom URL must use HTTPS and is set only by the operator environment. Use a complete /chat/completions-endpoint or a base address to which this path can be appended; /v1 is part of the base address if required.

Workspace operation

All regular workspaces run in live mode. There is no customer-side switch to simulated AI responses or to customers' own AI accounts. Existing demo data is kept isolated during the upgrade.

Private chats and work orders use the current agent configuration without publishing if a suitable subscription exists. Public widgets and phone channels still require a published agent version and valid channel mappings. Campaigns require confirm_live=true; calls require the documented consent. Tools keep their permission checks and required action approvals.

Voice, transcription and telephony

ElevenLabs requires ELEVENLABS_API_KEY and by default ELEVENLABS_VOICE_ID; optionally ELEVENLABS_MODEL. POST /api/voice/speech creates an MP3 file up to 3,000 text characters. Voices are not automatically cloned.

Deepgram requires DEEPGRAM_API_KEY, optional DEEPGRAM_MODEL; POST /api/voice/transcribe processes an audio file. The default language is de; auto enables language detection. It is not a continuous streaming STT session.

Twilio requires an account SID, auth token, your own phone number and a correct public HTTPS address. The channel documentation describes the signed voice/status callbacks. Twilio uses its own Gather/Say processing in the current phone path.

Bidirectional real-time telephony uses the separate LiveKit worker. It uses Deepgram streaming STT, Cartesia or ElevenLabs as streaming TTS and OpenAI, Groq or xAI / Grok as the cloud LLM. CARTESIA_API_KEY/CARTESIA_VOICE_ID, LIVEKIT_URL/LIVEKIT_API_KEY/LIVEKIT_API_SECRET, AIHUB_VOICE_WORKER_TOKEN and AIHUB_REDIS_URL must be set up. With VOICE_LLM_PROVIDER and VOICE_LLM_MODEL you set the operator default; provider and model are defined centrally; customers cannot override them. The catalog checks set values, not a real connection. The xAI path uses the existing OpenAI-compatible streaming adapter at the official xAI endpoint; real audio quality and latency still require a live check. LiveKit provider, xAI streaming.

Central billing

Text and voice models use only the operator access. Historical customer AI keys are no longer passed to the voice worker. Backend and voice worker are updated together via the usual deployment flow.

Telephony, LiveKit, Deepgram and Cartesia or ElevenLabs require their separately configured operator connections. Usage and cost displays use configured estimates. Plan and allowance limits still apply; an unsupported plan combination is rejected before a session starts.

SIP carriers are connected via LiveKit trunks and a channel/workspace-specific operator binding. The optional DGX path switches to the cloud on errors or when the start budget is exceeded, as long as no response has been output yet. Azure/OpenAI-Azure and Soniox still have no ready-made adapter. A dedicated SIP/RTP server and automatic carrier failover are not included. A provider error requires checking the configuration, reachability and limits in the respective provider portal.

The normal deployment flow checks the operator configuration before the worker starts. For diagnosis, manage.py check-config --voice, additionally for DGX --hybrid, shows missing variables without key values. The complete sequence is described in the configuration guide.

Email and event webhooks

Assistants can store notifications for the start, update, end and manual rating of a live conversation in a MariaDB outbox. The defaults are end and rating. The operator processes them with manage.py notify-worker --limit 20. A run may process 1 to 1,000 entries. The outbox persists across restarts. Historical simulated conversations are not queued for external delivery.

SMTP variables: AIHUB_SMTP_HOST, AIHUB_SMTP_PORT, AIHUB_SMTP_USER, AIHUB_SMTP_PASSWORD, AIHUB_SMTP_FROM, AIHUB_SMTP_STARTTLS, AIHUB_SMTP_SSL. Set up TLS and authentication values that match the mail server. An unclear SMTP response is not retried automatically, to avoid duplicate emails.

Webhooks require an approved public HTTPS host in AIHUB_WEBHOOK_HOSTS, one exact workspace-specific target address in AIHUB_WEBHOOK_ENDPOINTS and the operator signature key AIHUB_WEBHOOK_SECRET. A globally approved host alone does not entitle a customer area to send to other endpoints.

AIHUB_WEBHOOK_HOSTS=crm.example.at
AIHUB_WEBHOOK_ENDPOINTS='{"WORKSPACE_ID":["https://crm.example.at/events"]}'
AIHUB_WEBHOOK_SECRET=LANGEN_ZUFAELLIGEN_SIGNATURSCHLUESSEL_SETZEN

They contain X-AIHub-Signature: sha256=HEX_SIGNATURE. Compute HMAC-SHA256 with the secret over the exact UTF-8 body bytes received, before you re-serialize JSON, and compare the signature in constant time. X-AIHub-Event-ID matches payload.id and remains stable across retries.

Payload fields: id, event, workspace_id, conversation_id, agent_id, mode, status, summary up to 4,000 characters and goal_reached. As the recipient, also check the expected workspace ID. Complete transcripts and contact fields are not included in the event payload; a summary can still contain personal information.

Retryable delivery errors can trigger up to five attempts, with pauses of 30, 120, 600 and 1,800 seconds. The worker must run again for later attempts. Recipients deduplicate based on the stable event ID. Outbox statuses are pending, sending, retry, sent, failed, unknown and blocked. Unclear SMTP delivery requires a manual check; missing access rights lead to blocked delivery.

GET /api/notifications lets owners/admins view the workspace outbox. The optional service/timer templates are covered in the Operations section. Workspaces that have not been approved may not send external messages via the worker either.

helloCash: Invoices, customers and closing reports

Under /app/hellocash you store your helloCash API v2 access directly in your SIHub workspace and test the connection. The helpers prepare customer replies and closing documents in private work orders. With a suitable subscription and available central AI access, you can use the agent drafts for this without publishing them. The actual POS access, the assigned actions and individual approvals are still checked. The helloCash guide describes the setup and data scope.