Alexa Ruby Gem
Create a Skill API key
Each Skill needs its own API key for tracking.
Create a Skill to get an API key.
Install Dashbot Ruby Gem
gem install dashbot
Initialize Dashbot
Use the API key created above.
@appToken = <strong>process.env.DASHBOT_API_KEY</strong>@dba = Dashbot::DashbotSDK.new(appToken, requestBody['session'])
Re-initialize on new session (user)
Use the API key created above.
@dba = Dashbot::DashbotSDK.new(appToken, requestBody['session'])
Track requests
@vi.track(requestBody['request']['intent']['name'] , requestBody['request'], response.build_response)