Demo mode: changes are disabled.

Skip to content

Services Overview

Last updated

The services Deskply connects to, which of them you need, where their keys go, and the addresses you register with each provider.

Where the keys go

The AI, Stripe, Meta, Google and email (SMTP) keys are entered in the admin panel, under Settings → AI & Voice, Payment methods and Integrations. They are stored encrypted and apply at once. The other services' keys go in the .env file of the API; after you change .env, run sudo bash server/restart.sh. The web app holds no service secrets.

You create each account yourself and pay the provider directly. Deskply sends your customers' traffic through your accounts, except for phone calls: each customer connects their own Twilio account.

What you need

None of them is needed to install Deskply and look around. Each feature starts to work when you add the keys of its service: there is no sandbox and no AI included.

ServiceUsed forWithout itGuide
OpenAIChat replies (recommended) and the phone agentChoose Anthropic or Gemini for the replies. The phone agent cannot answerAI providers
AnthropicChat replies with ClaudeNothing is missing: OpenAI or Gemini writes the repliesAI providers
Google GeminiThe vectors of the knowledge files, with the default settingsKnowledge files are not processedAI providers
DeepgramTranscripts of what callers sayCalls work, but the transcript lacks the caller's wordsAI providers
Email (SMTP)Verification codes, password resets, invoicesNobody can finish signing up: the code does not arriveEmail
StripePlans, checkout and invoicesPlans with a price cannot be created, only free onesStripe
MetaInstagram, Messenger and WhatsAppThose three stay closed. The website chat works without MetaMeta channels
TwilioThe phone agent. Each customer connects their own accountNo phone callsTwilio Voice
Google CloudGoogle Calendar and Meet linksAppointments stay in the panel's own calendarGoogle Calendar
Laravel ReverbLive updates in the panels. Part of the API, no account neededThe panels show what is new after a reloadLive updates

Accounts and official documentation

Where you create each account and its keys, and the documentation of its maker. The panels of these services change; when a screen looks different from this guide, their own documentation is right.

Email needs no particular service: any SMTP provider works, with the host, port, username and password it gives you.

Addresses to register

Providers call the API back at these addresses. Each one is relative to APP_URL, the address of the API. Enter them in the provider's dashboard exactly as shown.

ServiceAddress on the APIPurpose
Instagram/api/v1/webhooks/instagramMessages
Instagram/api/v1/webhooks/instagram/data-deletionData deletion callback
Facebook/api/v1/webhooks/facebookMessages
Facebook/api/v1/webhooks/facebook/data-deletionData deletion callback
WhatsApp/api/v1/webhooks/whatsappMessages and account events
WhatsApp/api/v1/webhooks/whatsapp/data-deletionData deletion callback
Stripe/api/v1/admin/webhooks/stripeSubscription and invoice events

After their sign-in screens, Meta and Google send the browser back to the web app, which finishes the connection with the signed-in session. These addresses are relative to FRONTEND_URL, the address of the web app, for example https://app.example.com/platforms.

ServiceAddress on the web appRegister it as
Instagram and Facebook/platformsValid OAuth Redirect URIs, in each Meta app
Google (your customers' calendars)/calendar/google/callbackAuthorized redirect URIs, in the Google OAuth client
Google (your own calendar)/admin/calendar/google/callbackAuthorized redirect URIs, in the same client

The API builds these from FRONTEND_URL. INSTAGRAM_REDIRECT_URI, FACEBOOK_REDIRECT_URI, GOOGLE_USER_REDIRECT_URI and GOOGLE_REDIRECT_URI in the API's .env override them; leave them unset unless the web app answers at another address, and then point them at the same pages. The admin panel shows the addresses in use under Settings → Integrations.

HTTPS is required

Meta, Stripe, Twilio and Google only call public HTTPS addresses. On a development machine, use a tunnel that gives the API a public HTTPS address.

WhatsApp has no sign-in redirect: customers connect through Meta's Embedded Signup inside the web app. Twilio needs nothing registered by hand: when a customer connects a number, the API sets the webhook addresses on it.