Giter Club home page Giter Club logo

melania's Introduction

Melania

Facebook Messenger integration with Cisco Unified CCX Web Chat (via Cisco SocialMiner)

bitHound Overall Score bitHound Code bitHound Dependencies Code Climate Issue Count

Built With

Design

image

Flow

image

Running

Infrastructure

While this app is ready to be hosted on Heroku (see Procfile), it can be hosted on any application/hosting environment or container framework.

The only considerations for the infrastructure are public addressibility and connectivity with

  • facebook.com
  • your SocialMiner instance

About Deploying SocialMiner

Cisco SocialMiner should ideally be deployed on the DMZ such that it can be addressible and connected from anywhere in the public Internet, as well as have a direct connectivity into the enterprise network where Unified CCX servers and Agents are located.

If your organization has not deployed SocialMiner in the DMZ, you will need to use a forwarding/reverse proxy (such as ngrok or nginx.

Setup

Facebook Messenger Bot

See the Getting Started guides by Facebook on how to create a facebook app (bot), acquire required tokens etc.

Cisco Unified CCX and Cisco SocialMiner

See

Run

The following environment variables are required to be defined (in process.env) to launch and run the app.

Variable Description
PORT A 16-bit UNIX port number where this app will bind to
FB_PAGE_ACCESS_TOKEN The page access token issued by Facebook when you configure messenger for a page
FB_VERIFICATION_TOKEN A token that is to be provided by your app when Facebook challenges the validity of your webhook URL
VIRTUAL_ASSISTANT_NAME The name of your virtual assistant (E.g. Siri, Alexa etc.)
SOCIALMINER_HOST A valid fully qualified hostname of your SocialMiner server
SOCIALMINER_CHAT_FEED_ID The ID of the chat feed in SocialMiner. Can be obtained by calling the /feed API on SocialMiner
CCX_QUEUE_ID The ID of the CCX Chat Contact Service Queue. Can be obtained by calling the /csq/ API on CCX

Licenses

MIT License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

External Licenses

Cisco®, Cisco Unified CCX®, Cisco SocialMiner® etc. are registered trademarks of Cisco Systems, Inc.

melania's People

Contributors

umnagendra avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bluewang88

melania's Issues

Guide the steps

Your tutorial is great, but I can not follow the details.
You can give me detailed instructions.
Now I will clone "melania-master" on My connector, then I just need to change the process.env file as instructed or need to change any other files?
Do you have a video or detailed steps to help me? Thanks!
Sorry, I'm just a newbie. I'm researching on your solution. it's amazing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.