The Teneo Sabre Connector allows Teneo Developers to easily implement conversational experiences within the travel domain that are powered by Sabre APIs. Travel Agencies can utilize the Teneo Sabre Connector in order to create online booking assistants for their agents and consumers.
The Teneo Sabre Connector includes a Teneo solution with pre-built flows handling different travel scenarios, like searching for flights, reviewing itineraries, getting specific details about a given itinerary and even booking a flight. With the Teneo Sabre Connector, all these tasks can be achieved using natural language, which speeds up the booking process for agents and makes the customer experience extremely natural for end users.
For each core method in the Sabre integration, the solution contains a corresponding example flow:
These instructions assume you have a Sabre admin account. Alternatively, you can sign up for a free user account on Sabre developers.
These instructions assume you have downloaded and imported the Sabre Air Shopping Solution. See instructions below.
the Teneo Sabre Connector includes a Node.js application that acts as a backend mediator between Teneo and the Sabre APIs, facilitating the communication between both systems. This application will give access to different Sabre API methods within the Air Booking workflow:
The connector can be published to Heroku directly from Github repository. Once deployed, make sure to copy your Teneo Sabre Connector endpoint from Heroku (e.g., https://teneo-sabre-connector.herokuapp.com)
If you prefer to run your bot locally, see Running the connector locally.
If you prefer to run the connector locally, please follow these steps:
git clone https://github.com/artificialsolutions/teneo-sabre-connector.git
If this is the first time you are running the connector after cloning the repository, you may need to run
ngrok http 3003Once running, copy your Teneo Sabre Connector endpoint from Ngrok (e.g., https://78dXXXXXc15b.ngrok.io)
The solution contains a global variables sSabrePcc, sSabreConnectorUrl, sSabreUserName and sSabrePassword in which various credentials we have collected should be stored. The value of the global variable should be a type of String like this:
|Variable Name||Example value||Description|
|sSabrePcc||'V8XX'||Stores Sabre PCC id for Artificial Solutions: "V8TK".|
|sSabreUserName||'75XXX1'||Stores Sabre user name for Artificial Solutions account.|
|sSabrePassword||'64XXXXXm'||Stores Sabre password for Artificial Solutions account.|
|sSabreConnectorUrl||'https://teneo-sabre-XXXXX-dev.herokuapp.com/'||Stores the active Sabre connector URL exposing access to Sabre services. Passed as an input parameter..|
To update the global variables, proceed as follows:
Before testing in Try Out make sure you have set the following input parameter; value will be the Teneo Sabre Connector endpoint from your deployment above.
https://teneo-sabre-XXXX.herokuapp.com || https://78dXXXX2c15b.ngrok.io(under).
Your solution is now ready. You can test this in Try Out with asking
I want to book a flight from Los Angeles to San Jose next Friday and returning the following week.
User: I want to book a flight from Los Angeles to San Jose next Friday and returning the following week
Bot: I found several itineraries for you, for flights between Los Angeles and San Jose. Please review them at your convenience. I can provide details about any of them, so feel free to ask.
User: What if I fly to San Francisco
Bot: We've found a few bargains for you, for flights between Los Angeles and San Francisco. Please review the following itineraries. I can provide details about any of them, so feel free to ask.
User: Can you show me the details of flight number 2?
Bot: For USD 237.8, UA offers a convenient option between Los Angeles and San Francisco, leaving on 2021-05-28 and returning on 2021-05-31.
User: Will you book it for me now?
Bot: Sure, let me try to help with that.
Bot: Congrats! Your flight between Los Angeles and San Francisco is now booked! Here is your booking reference: GMWZHW.
User: What is the duration of my flights? / What is the distance between both airports?
Bot: Check this table for duration and distance details about both of the flights in your booking.
User: Is there meal service onboard?
Bot: Here are the meal service details pertaining to your reservation.
For simplicity, the bot answers in this solution are text only. Depending on the channel, interactive cards can be added, for example to add buttons or allow the user to select items from a list.
Was this page helpful?