Run the following command in your Node-RED user directory - typically
npm install node-red-contrib-apiai
Make sure you have an account and an agent at https://api.ai/. You will need the
Server Access Token that can be found in the Settings menu, in the General tab of your api.ai agent.