- API.AI account: https://api.ai
- Google Cloud project: https://console.cloud.google.com/project
See the developer guide and release notes at https://developers.google.com/actions/ for more details.
- Create a new agent in API.AI https://api.ai.
- Deploy this app to your preferred hosting environment (we recommend Google Cloud Functions).
- Set the "Fulfillment" webhook URL to the hosting URL.
- In any relevant intents, enable the Fulfillment for the response.
- Build out your agent and business logic by adding function handlers for API.AI actions.
- For each API.AI action, set a new key/value pair on the actionMap, reflecting the action name and corresponding function handler on the actionMap in index.js.
- Make sure all domains are turned off.
- Enable Actions on Google in the Integrations.
- Provide an invocation name for the action.
- Authorize and preview the action in the web simulator.
For more detailed information on deployment, see the documentation.
See LICENSE.md.