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

Install in your Android app

Add the Telybot chat to your Android app with one dependency and two lines of Kotlin, using the same key and the same training as your website.

How the Android SDK works

The Telybot Android SDK opens the hosted chat page — the same one your bot link uses — inside a WebView, with native presentation, keyboard handling and back-button behaviour around it.

We say that plainly because it decides things for you: a change you make in your dashboard is live in your app immediately, with no app-store release, and the chat looks and behaves identically on every platform. The trade-off is that it needs a connection; there is no offline mode.

Before you start

  • An Android app with minSdk 21 or higher.
  • Your key, from Install → Installation in your dashboard. Choose Mobile app, then Android, and the code shown there already has your key in it.

Add the SDK

  1. Add the JitPack repository to your project settings:
// settings.gradle.kts
dependencyResolutionManagement {
  repositories {
    google()
    mavenCentral()
    maven("https://jitpack.io")
  }
}
  1. Add the dependency to your app module, then sync Gradle:
// app/build.gradle.kts
implementation("com.github.telybotai:telybot-Sdks:v2.0.0")

The library brings no third-party dependencies of its own.

  1. Call init once, and show from your Help or Contact button:
import com.telybot.sdk.TelyBot

// Once — Application.onCreate() or the activity that opens the chat
TelyBot.init(this, "tb_live_your_key_here")

// From your Help or Contact button
TelyBot.show(this)

There is also TelyBot.dismiss() and TelyBot.isShowing if you need to close the chat yourself.

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 over your app with your welcome message, and a question you send is answered as it would be on your website.

What it does for you

  • Links open outside the chat. Anything that navigates away from your chat opens in the browser instead, so a customer never loses their conversation.
  • The keyboard never covers the input.
  • A failed load shows a retry, not a crash.
  • No analytics and no device identifiers. Adding the SDK does not add a tracker to your app.

If the bot is in draft

The chat opens with your bot's name and a short "Chat is not available right now" message: no welcome and no answers. Go live with Overview → Go live in your dashboard and it starts answering — again, with no app release.

Next: iOS app →