Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.2 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.2 KB

Olark All Hands Support API Examples

Getting Started

You will need to have Node.js installed on your machine to run this example, however it is not required to use Olark's API.

If you need to get that installed you can go to NodeJS.org to get going.

Installing & Running

$ npm install
$ npm start

Olark Site ID

Before you can try out these examples you will need an Olark test account. You can sign up for a free account here: https://www.olark.com/signup

Step 1 Open up {path_to_project}/public/index.html

Step 2 At the top you will see a code snippet that looks like the code below

// You can find your site id at the URL below
// https://www.olark.com/settings/code
var OLARK_SITE_ID = '0000-000-00-0000'

Step 3 Change the 0000-000-00-0000 to your Olark Site ID which can be found here: https://www.olark.com/settings/code

Example Code

In your favorite code editor open the file below.

{path_to_project}/public/assets/js/app.js

More Information

Olark's Full API Documentation: http://olark.com/documentation