I want to know How can I integrate AWS Lex with the node?.
I need to implement:-
suppose I have a lex bot and i want to send a message to the lexbot from the nodejs and the response lexbot return sends it back to the front-end website.
I don not have any idea about it Please help me out.
Thanks!
Related
I am trying to integrate my Botpress (Chatbot) with Kendra. So that when a user types a query it will trigger the Kendra and give the results. I have created the s3, Index & Experience. I am getting the response on Kendra experience. But I want to connect my Kendra with a chatbot whose backend is Node.js. In my bot I have to make connections and in the Kendra documentation there is nothing I found to make a connection to my Kendra.
Amazon LEX has a native offering for integrating with Kendra - https://aws.amazon.com/blogs/machine-learning/integrate-amazon-kendra-and-amazon-lex-using-a-search-intent/.
For other chatbots, you need to build the integration using AWS SDKs.
I'm trying to send a Zoho Desk ticket reply from a Google Apps Script. We are stuck at generating the Zoho-oauth token mentioned in the Zoho API documentation.
First, we started by going here: https://api-console.zoho.com/
From the available options, we chosed client based app:
But on the next step, we don't understand how to fill in the fields:
Again, we are trying to use Zoho Api from a Google script (https://script.google.com/......) that will be run when we press a button in a Google Sheets file (https://docs.google.com/spreadsheets.......).
How do we generate the auth token ? Community's help is greatly appreciated !
You application (Your Apps Script code in this case) will need the credentials to receive a token from the Zoho API and be able to make requests to it.
When you click in the Sheets, it will execute the script, which will run in a Google server and delivered to your browser. In this case, the request to Zoho will be originated from a Google server. I would choose web-server credentials. But do go through the OAuth Help Guide
Since migrating my Dialogflow agent to V2 from V1 (and subsequently, no longer using API.ai on the swift side), I am confused on how to move forward. Currently, I have a node.js server serving as my fulfillment web hook. Since transitioning to the new version, how am I suppose to send requests from my iOS Client -> to server -> to Dialogflow (I am aware of this stackoverflow answer)?
Also, what about the response from Dialogflow from the correct fulfillment? How do I send the response from Dialogflow agent -> to server -> to formatted for iOS? Any help would be greatly appreciated!
P.S. I have looked into cloud functions with google but don't know how to integrate that with iOS. I'm looking for the iOS Client to send requests and receive responses with the fulfillment acting as the middleman between the two (also seeing that it would be handling authentication).
Can anyone provide a simple example of using the Amazon SNS service to send and receive Push Notifications under React Native?
I've got the Amazon SNS service setup, and I can publish a message from the website and have it appear on an iPhone – if I manually enter the device token and initiate the publish on the Amazon website. Now I want to automate the process of registering the Push Token in Amazon SNS, and allow the app to Publish a push to the SNS service.
I know that Amazon has a very new project to integrate their SDK into React Native, but I cannot get it working. Support on that repo is spare too, so I'm hoping someone here can help.
Right now what I get is: Undefined is not an object (evaluating 'cognateClient.initWithOptions')
The GitHub issues mention something similar on Android, but obviously that doesn't help with my iOS app.
What I'm looking for is a step-by-step breakdown of how to integrate Amazon's code in to an existing RN app. They don't provide a standard Node package, so I'm struggling to figure out how to get the React Native code and the SDK to play nice with Xcode.
Any suggestions? Thanks!
There's no 'integration' of AWS into the RN app needed. You just need the device token from RN.
Use a package like RNPN (https://github.com/zo0r/react-native-push-notification) in order to get the device token your phone generates. When you have that, make a call to your api, and your api is then responsible to call out to SNS to register that device token as an SNS 'endpoint'.
Translate this pseudo-code into whatever your API is written in: https://docs.aws.amazon.com/sns/latest/dg/mobile-platform-endpoint.html
In short...
RNPN onRegister ->
POST /registerDevice on your api ->
call AWS
createPlatformEndpoint from your api ->
start sending messages from your api
Most likely you'll want to store some relationship from user -> deviceToken+platformEndpoint in your db/data store.
Then you can send notifications from your api. Wrote up how to do that here: https://medium.com/#duhseekoh/send-a-push-notification-using-aws-sns-javascript-sdk-2f117e9c4180
Im using react-native-fcm with Amazon sns, it will register my device token and then we are sending that token to our php solution that then add the device to a subscription on a topic in SNS, passed back to the app is the subscription token and endsub tokens. Then we Push Messages to the topic thru SNS. Works on both iOS and Android.
I am using parse server as backend for my app. after registration I want to verify users mobile number for that I want to use free sms getway. any one know how can we do that?
appreciate for help.
Check the API libraries for resources on how to integrate your web service:
https://parse.com/docs/api_libraries
Without further information on what language you are using, what you have tried, or even what gateway you are using, it is impossible to give a more detailed answer.