Get Started with mesibo

mesibo allows you to quickly add highly scalable real-time messaging, group chat, voice and video calls, conferencing, and chatbots to your mobile and web applications. mesibo offers easy-to-use yet powerful APIs that you can master in no time.

In this introductory tutorial, we will build an app with the following features in under an hour:

  • Sending and Receiving Messages
  • Voice and Video Calls
  • Group Messaging
  • Group Calls (Conferencing)
  • Reading Messages from database
  • Setting User Profile
  • Syncronizing Phone Contacts
  • And more

Download Source Code

The entire source code for this tutorial app is available on mesibo's GitHub repositoriesopen_in_new. We highly recommend downloading the code, opening it in your development tool (Android Studio, Xcode, etc), and following along as you go through this tutorial.

$ mkdir mesibo
$ cd mesibo
$ git clone https://github.com/mesibo/samples.git

Get mesibo API Key

Before integrating mesibo into your applications, you must generate mesibo API keys from your mesibo accountopen_in_new. The API key is referred to as the "App Token", which will be used for creating your users and groups on mesibo.

There are two types of mesibo APIs:

  • mesibo Backend APIs: These are REST-based APIs to be used exclusively by your backend servers. It requires API key to generate users, groups, managing your app, etc. Refer to the mesibo backend APIs to learn more.

  • mesibo Real-time APIs: These APIs are used by your app clients (Android, iOS, Flutter, Web, C++, Python, etc) to enable real-time communication between your users, including one-to-one messaging, group messaging, voice and video calls, and more. For every user using mesibo Real-time APIs, you will need to create a user access token using mesibo Backend APIs.

Create an Application and App Token

To generate an app token, create or login to your mesibo accountopen_in_new.

Once logged in, click the "New Application" button to create a new application, let's say, "FirstApp." This application will serve all platforms, including Android, iOS, web, etc.

mesibo-api-key

After creating your application, take note of the App Token, which will look like this:

87pbh20pzehd9ld0o0pxqx9h80jjqfu9ipul4l00fnb55pbfx9mxyyk4uyr1iwuw

We will use this App Token to create user access tokens in the next part.

App Token is secret and you should never expose it to your users. Hence, you MUST NOT use it in client-side APIs (Android, iOS, Flutter, JS, etc)

Next we will learn how to create user access tokens. Later we will build our first mesibo app with messaging and calls.