<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lingoport.com/index.php?action=history&amp;feed=atom&amp;title=LingoBot_Cisco_Spark_Setup</id>
	<title>LingoBot Cisco Spark Setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lingoport.com/index.php?action=history&amp;feed=atom&amp;title=LingoBot_Cisco_Spark_Setup"/>
	<link rel="alternate" type="text/html" href="https://wiki.lingoport.com/index.php?title=LingoBot_Cisco_Spark_Setup&amp;action=history"/>
	<updated>2026-05-01T01:40:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.lingoport.com/index.php?title=LingoBot_Cisco_Spark_Setup&amp;diff=91837&amp;oldid=prev</id>
		<title>Rdaly: Created page with &quot;This portion of the installation guide only applies if the collaboration environment you will be using is Cisco Spark. If you will be using either Slack or CA Flowdock, please...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.lingoport.com/index.php?title=LingoBot_Cisco_Spark_Setup&amp;diff=91837&amp;oldid=prev"/>
		<updated>2018-08-09T18:10:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This portion of the installation guide only applies if the collaboration environment you will be using is Cisco Spark. If you will be using either Slack or CA Flowdock, please...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This portion of the installation guide only applies if the collaboration environment you will be using is Cisco Spark. If you will be using either Slack or CA Flowdock, please follow the corresponding setup instructions.&lt;br /&gt;
&lt;br /&gt;
Configuring LingoBot to communicate via Cisco Spark is a fairly straight forward process. All that is required is access to an account that has access to your organization&amp;#039;s Cisco Spark.&lt;br /&gt;
&lt;br /&gt;
=== Creating a Custom Bot ===&lt;br /&gt;
* The first step is to sign in to your Cisco Spark account on the [https://developer.ciscospark.com/# Developer Portal].&lt;br /&gt;
* Once signed in, navigate to the [https://developer.ciscospark.com/add-bot.html Custom Bot Creation page].&lt;br /&gt;
* On the bot creation page, fill in the form with the following information:&lt;br /&gt;
** Display Name: By default, we recommend simply calling it &amp;quot;&amp;#039;&amp;#039;&amp;#039;lingobot&amp;#039;&amp;#039;&amp;#039;&amp;quot;, however you&amp;#039;re welcome to name it whatever you would like.&lt;br /&gt;
*** If you do choose to call it something other than &amp;quot;lingobot&amp;quot;, make sure that you set the &amp;#039;&amp;#039;&amp;#039;LINGOBOT_NAME&amp;#039;&amp;#039;&amp;#039; variable in the configuration file to whatever name you chose.&lt;br /&gt;
*** Example: &amp;lt;code&amp;gt;export LINGOBOT_NAME=lingobot-123&amp;lt;/code&amp;gt;&lt;br /&gt;
** Bot Name: Ideally this should be the same as the display name, however due to the necessity that it be unique this can be just about anything. This will only be used to invite the bot to a chat room.&lt;br /&gt;
** Icon: Paste the following URL into the Icon field: &amp;#039;&amp;#039;&amp;#039;http://i.imgur.com/3bzw0zp.jpg&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Once this is done, click &amp;quot;&amp;#039;&amp;#039;&amp;#039;Add Bot&amp;#039;&amp;#039;&amp;#039;&amp;quot;. On the following page, you will find an API token. Click the &amp;quot;Copy&amp;quot; button next to it (or select and copy the token itself) then  paste it into the LingoBot configuration file next to the &amp;#039;&amp;#039;&amp;#039;CISCOSPARK_ACCESS_TOKEN&amp;#039;&amp;#039;&amp;#039; variable declaration.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 export CISCOSPARK_ACCESS_TOKEN=LDA5YjBiOTItMTAwOS00ODMxLTk4ZjEtYTQ4OGI4N2FjN2Y2MjVlM2QyNTUtYmM2&lt;br /&gt;
&lt;br /&gt;
=== Creating a Webhook for LingoBot ===&lt;br /&gt;
* The final step is to create a webhook that LingoBot can receive message event notifications through. To do this, navigate to the [https://developer.ciscospark.com/endpoint-webhooks-post.html Spark Webhook Creation Page].&lt;br /&gt;
* Make sure that the &amp;quot;&amp;#039;&amp;#039;&amp;#039;Test Mode&amp;#039;&amp;#039;&amp;#039;&amp;quot; switch is turned ON. This will allow you to generate webhooks directly into your organization&amp;#039;s account.&lt;br /&gt;
* Under the &amp;quot;Request Headers&amp;quot; section, fill in the following information:&lt;br /&gt;
** Authorization: &amp;quot;Bearer &amp;#039;&amp;#039;&amp;#039;[YOUR BOT&amp;#039;S API TOKEN HERE]&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
* In the &amp;quot;Request Parameters&amp;quot; section, fill in the the following information under the &amp;quot;Your values&amp;quot; column:&lt;br /&gt;
** name: This can be anything. i.e. &amp;quot;lingobot&amp;quot;.&lt;br /&gt;
** targetURL: &amp;quot;&amp;#039;&amp;#039;&amp;#039;[YOUR JENKINS INSTANCE URL HERE]&amp;#039;&amp;#039;&amp;#039;:5001/hubot/ciscospark/incoming&amp;quot;&lt;br /&gt;
** resource: &amp;quot;all&amp;quot;&lt;br /&gt;
** event: &amp;quot;all&amp;quot;&lt;br /&gt;
** secret: This can be just about anything, but ideally it is a random string of letters and numbers that it at least 32 characters long.&lt;br /&gt;
*** Whatever you chose for this must also be copied to the LingoBot configuration file, next to the CISCOSPARK_SECRET variable declaration.&lt;br /&gt;
Example: &lt;br /&gt;
 export CISCOSPARK_SECRET=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6&lt;br /&gt;
* Once all of these values have been entered, click the &amp;quot;&amp;#039;&amp;#039;&amp;#039;Run&amp;#039;&amp;#039;&amp;#039;&amp;quot; button. You should see a response containing the webhook&amp;#039;s information on the right.&lt;br /&gt;
&lt;br /&gt;
Finally, make sure the &amp;#039;&amp;#039;&amp;#039;LINGOBOT_ADAPTER&amp;#039;&amp;#039;&amp;#039; variable is set to &amp;quot;&amp;#039;&amp;#039;&amp;#039;sparkwebhook&amp;#039;&amp;#039;&amp;#039;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 export LINGOBOT_ADAPTER=sparkwebhook&lt;br /&gt;
&lt;br /&gt;
Once this is complete, the bot is now configured and ready to be installed! Follow the instructions below on running the installation script to finish the installation process.&lt;br /&gt;
&lt;br /&gt;
Next Step: [http://wiki.lingoport.com/Installing_the_Lingobot_Service Install and Start the Lingobot Service]&lt;/div&gt;</summary>
		<author><name>Rdaly</name></author>
	</entry>
</feed>