<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sunil kumar on Medium]]></title>
        <description><![CDATA[Stories by Sunil kumar on Medium]]></description>
        <link>https://medium.com/@sunilkumarr?source=rss-3f2e7d997f1a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EkP0s9eZeZfL11M6YD6mzg.jpeg</url>
            <title>Stories by Sunil kumar on Medium</title>
            <link>https://medium.com/@sunilkumarr?source=rss-3f2e7d997f1a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 10:50:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sunilkumarr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building an iOS Chatbot with Dialogflow and Kommunicate]]></title>
            <link>https://heartbeat.comet.ml/building-an-ios-chatbot-with-dialogflow-and-kommunicate-c52471aec7ba?source=rss-3f2e7d997f1a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c52471aec7ba</guid>
            <category><![CDATA[dialogflow]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[heartbeat]]></category>
            <dc:creator><![CDATA[Sunil kumar]]></dc:creator>
            <pubDate>Fri, 25 Jan 2019 15:30:53 GMT</pubDate>
            <atom:updated>2021-09-29T17:08:53.419Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-4lQKrk3yN1ZjJ5Ela9J7A.jpeg" /></figure><p>In our previous posts, we presented simple and effective guides for integrating a Dialogflow <a href="https://www.kommunicate.io/blog/how-to-integrate-bot-using-dialogflow-in-kommunicate-1ac32911a7d0/">bot on a website</a> and on <a href="https://www.kommunicate.io/blog/build-chatbot-with-dialogflow-android-sdk/">Android</a>. In this article, we’ll be sharing steps that show how to build an iOS chatbot with <a href="https://dialogflow.com/">Dialogflow</a>. All you need to build a sample chatbot using <a href="https://dialogflow.com/">Dialogflow</a> and <a href="https://www.kommunicate.io/">Kommunicate</a> for an iOS app.</p><p>Below is an example of the Kommunicate Support Bot developed on iOS using Dialogflow. You can check out the functionality of the Kommunicate Support bot here:</p><p><a href="https://www.kommunicate.io/">AI Chatbot for Customer Service Automation | Kommunicate</a></p><p>Kommunicate supports both Swift and Objective C in our iOS SDK, and we’ve made it very easy to add the SDK using CocoaPods.</p><p>The actionable, rich messaging bot can reply based on whether users are on chat for general queries, technical queries, or simply checking out or scheduling a demo.</p><p>You can use your existing Dialogflow bot or check out <a href="https://docs.kommunicate.io/docs/bot-samples">bot samples</a> to build a qualifying bot of your own. Download the <a href="https://docs.kommunicate.io/samples/kommunicate-support-bot-sample.zip">Kommunicate Support Bot</a> and import into your Dialogflow account.</p><p>Let’s now jump into the crux of this post—building the bot itself!</p><h3>Step by Step Guide to Building iOS Chatbot with Dialogflow</h3><h4>Step 1: Setup an account in Kommunicate</h4><p>It’s really simple to get started with a free account on Kommunicate. Sign up and navigate to the <a href="https://dashboard.kommunicate.io/bot">Bot section</a>. Click on Settings in the Dialogflow block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*TOEWO8qaDewcEin5UFrj7w.png" /></figure><p>Upload your Dialogflow provided client keys. In case you’re using Dialogflow V1, you can copy paste your client and dev tokens. However, we do recommend using <a href="https://dialogflow.com/docs/reference/v2-agent-setup">Dialogflow V2 for the latest capabilities.</a></p><p>To complete the setup, click Next and set up your Bot Profile. You can check your newly created bot in two places:</p><ul><li><strong>Dashboard →Bot Integration → Integrated Bots</strong>: You can check all your integrated bots here.</li><li><strong>Dashboard → Bot Integration</strong>: Your Dialogflow icon should be green with the number of bots are you have successfully integrated.</li></ul><h4>Step 2: Install Dialogflow integrated iOS Chatbot SDK into your app</h4><p>In this step, you’ll need to add the Kommunicate iOS SDK to your app, which comes with a pre-configured Dialogflow integration. Follow the instructions below to add the iOS SDK into your app:</p><p><strong>Initialize CocoaPods</strong></p><p>Kommunicate is available through CocoaPods. To install it, simply add the following line to your Podfile:</p><pre>pod &#39;Kommunicate&#39;</pre><p>This is how the pod file looks once installed:</p><pre>target &#39;MyTargetName&#39; do<br>       use_frameworks!<br>       pod &#39;Kommunicate&#39;<br>    End</pre><p>Run pod install in your project terminal folder:</p><pre>pod install</pre><p>After finishing the installation, you can initialize the SDK by calling the method below.</p><p><strong>Set up the App id</strong></p><pre>Kommunicate.setup(applicationId:&lt;Your App ID&gt;)</pre><p>You can obtain your unique Application ID in the <a href="https://dashboard.kommunicate.io/settings/install">Installation Section</a>. If in any file you’d like to use Kommunicate, don’t forget to import the framework with <strong>import Kommunicate</strong></p><h3>Step 3: Send and receive Information</h3><p>Now you can send the payload data to Dialogflow through the chat screen and get a text response from the Dialogflow Agent. Kommunicate provides a ready-to-use Chat UI, so all you need to do is launch the chat screen for this step:</p><pre>let agentId = [&quot;agent@yourdomain.com&quot;] // Pass your agent id here<br>        let botId = [&quot;bot&quot;] //enter your integrated bot Id</pre><pre>        Kommunicate.createConversation(<br>            userId: &quot;&quot;,<br>            agentIds: agentId,<br>            botIds: botId,<br>            useLastConversation: true,<br>            completion: { response in<br>                guard !response.isEmpty else {return}<br>                Kommunicate.showConversationWith(groupId: response, from: self, completionHandler: { success in</pre><pre>                })<br>        })</pre><p>Run the iOS project and chat with the Dialogflow bot. You can easily integrate Dialogflow in iOS apps in a few simple steps. In case you need more information, you can check out the <a href="https://docs.kommunicate.io/docs/ios-installation">Kommunicate iOS documentation.</a></p><p>Here are some sample chat screens of the iOS app with the Dialogflow and Kommunicate integration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*ivjMo6JWmkAC6VMeFrTnhg.png" /></figure><p><em>Are you considering chatbots for your business? </em><a href="https://www.kommunicate.io/resources/white-papers/beginners-guide-to-chatbots.html"><em>Download the Complete Beginner’s Guide to Chatbots</em></a><em> for a more detailed explanation on chatbots’ capabilities, industry use-cases, and a step-by-step guide on how to build one.</em></p><h3>Dialogflow iOS SDK Client</h3><p>Dialogflow provides an iOS Client SDK that makes it easy to integrate speech recognition with API.ai’s natural language processing API on Apple devices.</p><p>If you’re looking to develop your own chat implementation, you can directly integrate Dialogflow into your iOS app without Kommunicate SDK, using the following SDK from GitHub:</p><p><a href="https://github.com/dialogflow/dialogflow-apple-client">dialogflow/dialogflow-apple-client</a></p><h4>Related Posts:</h4><p>1. <a href="https://www.kommunicate.io/blog/build-chatbot-with-dialogflow-android-sdk/">Build an Android Chatbot with Dialogflow (API.ai)</a></p><p>2. <a href="https://www.kommunicate.io/blog/how-to-integrate-bot-using-dialogflow-in-kommunicate-1ac32911a7d0/">Integrate a Dialogflow (API.ai) Bot into Website</a></p><blockquote>This article was originally published on <a href="https://www.kommunicate.io/blog/building-ios-chatbot-with-dialogflow-api-ai/">Kommunicate.io</a>’s blog.</blockquote><p><em>Editor’s Note: </em><a href="https://heartbeat.comet.ml/"><em>Heartbeat</em></a><em> is a contributor-driven online publication and community dedicated to providing premier educational resources for data science, machine learning, and deep learning practitioners. We’re committed to supporting and inspiring developers and engineers from all walks of life.</em></p><p><em>Editorially independent, Heartbeat is sponsored and published by </em><a href="http://comet.ml/?utm_campaign=heartbeat-statement&amp;utm_source=blog&amp;utm_medium=medium"><em>Comet</em></a><em>, an MLOps platform that enables data scientists &amp; ML teams to track, compare, explain, &amp; optimize their experiments. We pay our contributors, and we don’t sell ads.</em></p><p><em>If you’d like to contribute, head on over to our</em><a href="https://heartbeat.fritz.ai/call-for-contributors-october-2018-update-fee7f5b80f3e"><em> call for contributors</em></a><em>. You can also sign up to receive our weekly newsletters (</em><a href="https://www.deeplearningweekly.com/"><em>Deep Learning Weekly</em></a><em> and the </em><a href="https://info.comet.ml/newsletter-signup/"><em>Comet Newsletter</em></a><em>), join us on</em><a href="https://join.slack.com/t/fritz-ai-community/shared_invite/enQtNTY5NDM2MTQwMTgwLWU4ZDEwNTAxYWE2YjIxZDllMTcxMWE4MGFhNDk5Y2QwNTcxYzEyNWZmZWEwMzE4NTFkOWY2NTM0OGQwYjM5Y2U"><em> </em></a><a href="https://join.slack.com/t/cometml/shared_invite/zt-49v4zxxz-qHcTeyrMEzqZc5lQb9hgvw"><em>Slack</em></a><em>, and follow Comet on </em><a href="https://twitter.com/Cometml"><em>Twitter</em></a><em> and </em><a href="https://www.linkedin.com/company/comet-ml/"><em>LinkedIn</em></a><em> for resources, events, and much more that will help you build better ML models, faster.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c52471aec7ba" width="1" height="1" alt=""><hr><p><a href="https://heartbeat.comet.ml/building-an-ios-chatbot-with-dialogflow-and-kommunicate-c52471aec7ba">Building an iOS Chatbot with Dialogflow and Kommunicate</a> was originally published in <a href="https://heartbeat.comet.ml/">Heartbeat</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>