telybot A little less ordinary.
A lot more intelligent.
Nepal Sign in Talk to us Start free
Telybot docsInstall

Install in your iOS app

Add the Telybot chat to your iOS app with one package and two lines of Swift — the same key, the same training, and the same chat your website visitors get.

How the iOS SDK works

The Telybot iOS SDK is a WKWebView presenting the hosted chat page, with native presentation and safe-area and keyboard handling around it. That means a change you make in your dashboard is live in your app without an App Store release, and it means the chat needs a connection — there is no offline mode.

Before you start

  • An iOS app that targets iOS 15 or newer.
  • Your key, from Install → Installation in your dashboard. Choose Mobile app, then iOS, and the code shown there already has your key in it.

Add the SDK

  1. Add the package. With Swift Package Manager, in Xcode: File → Add Package Dependencies, then
https://github.com/telybotai/telybot-Sdks

Or in Package.swift:

dependencies: [
    .package(url: "https://github.com/telybotai/telybot-Sdks", from: "2.0.0")
],
targets: [
    .target(name: "YourApp", dependencies: [.product(name: "TelyBot", package: "telybot-sdks")])
]

Or CocoaPods. The pod is served straight from the tag, so there is nothing to add to your Podfile beyond this line:

pod 'TelyBot', :podspec => 'https://raw.githubusercontent.com/telybotai/telybot-Sdks/v2.0.0/TelyBot.podspec'

No third-party dependencies.

  1. Call initialize once, at launch, and show from your Help button:
import TelyBot

// Once, at launch
TelyBot.initialize(clientId: "tb_live_your_key_here")

// From your Help button
TelyBot.show(from: self)

show(from:) will find the top-most view controller if you pass nothing. There is also TelyBot.dismiss() and TelyBot.isShowing.

  1. Add a camera line to your app's Info.plist. Customers can attach a photo in the chat, and iOS offers Take Photo whenever a photo can be attached. An app without this key is closed by iOS when someone chooses it:
<key>NSCameraUsageDescription</key>
<string>Attach a photo to your support conversation.</string>

Everything else — a question already typed, the chat inside your own screen, your signed-in customer, a reply while the chat is closed — is in the SDK reference.

Check it works

Run your app and tap the button that calls TelyBot.show. The chat opens as a sheet with your welcome message. While your bot is in draft, the chat says it is not available right now; go live with Overview → Go live and it starts answering, with no app release.

What it does for you

  • Links open in Safari, not in the chat — a customer never loses their conversation to a tap.
  • Safe areas and the keyboard are handled, including on notched devices.
  • A failed load offers a retry rather than throwing.
  • No analytics, no identifiers, no tracking. Worth knowing before you fill in App Store privacy answers: the SDK collects nothing.

App Store privacy

The SDK itself collects no data. What your customers type is sent to Telybot to be answered — that is the product — and is covered by your data.

Next: React Native / Flutter / Ionic →