Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.
Ben edited this page Apr 3, 2016 · 1 revision

You can use this code to setup the gem:

WitBot.configure do |c|
  # Set your access token here. We recommend using the ENV variable for security reasons.
  c.token = ENV['WIT_ACCESS_TOKEN']
end

Or, if you're on rails, create the initializer:

$ rails g wit_bot:setup

Getting Started

Here's how to get started with wit_bot in 3 steps:

  1. Learn how to use wit.ai
  2. Learn how to setup the gem
  3. Learn how to send a message

Dive Deeper

Create Bots

Integrate it

Clone this wiki locally