Skip to content

MyPureCloud/purecloud-embeddable-framework-mystery-crm

Repository files navigation

PureCloud Embeddable Framework Mystery CRM

This repository contains an example application that mimics a custom CRM environment. The application can integrate with different PureCloud Embeddable Framework deployment environments: local, private, and production.

PureCloud Embeddable Framework example application

Table of Contents

Getting Started

TL;DR

  1. Clone the repository.
  2. Run npm install.
  3. Run a local server.
  4. Open the application in your browser.
  5. Configure settings in the application and refresh your browser.

You can now interact with the PureCloud Embeddable Framework application.

Prerequisites

  • Git installed on your computer.
  • Node.js (with npm) installed on your computer.
  • Ember CLI installed on your computer.
  • PureCloud credentials.
  • A PureCloud OAuth client with the Token Implicit Grant (Browser) grant type selected.
    For more information, see Create an OAuth client (Resource Center).

Installation

  1. Clone the repository.
  2. Run npm install in a command-line application.
  3. Run npm install -g ember-cli in a command-line application.

Configuration

  1. Run a local server.
    • Windows
      a. Run Command Prompt as an administrator.
      b. Type cd {name of your PureCloud Embeddable Framework project}.
      c. Type ember serve --port 443.
    • macOS
      a. Open a Terminal window.
      b. Type cd {name of your PureCloud Embeddable Framework project}.
      c. Type sudo ember serve --port 443.
  2. Wait until you see "Build successful...Serving on https://localhost:443/" in the Command Prompt/Terminal window.
  3. In your browser, go to https://localhost:443.
  4. Configure the application.
    a. Click the gear icon.
    b. Edit the following required fields:
    • Deployment Environment: Select the correct PureCloud Embeddable Framework deployment environment for your integration.
    • Framework Name: Add a unique name for your integration.
    • PureCloud Environment: Indicate the region where your PureCloud organization is located.
      For a list of values, see property names under clientIds (Developer Center).
    • PureCloud Client ID: Add the Client ID from the OAuth client that you created in PureCloud.
      For more information about the OAuth client, see Prerequisites.
    c. (Optional) Edit the other fields. For more information about these fields, see the PureCloud Embeddable Framework documentation in the Developer Center.
    d. To save your changes, click the disk icon.
  5. Refresh your browser. The configuration changes now take effect.

Usage

After you complete the steps under Configuration, click the phone icon and log in to the client with your PureCloud credentials.

You can now interact with the application and explore functionality in a PureCloud Embeddable Framework deployment environment.

Additional Information

This content is licensed under the MIT license.

For more information about PureCloud Embeddable Framework, see PureCloud Embeddable Framework overview (Developer Center) and About PureCloud Embeddable Framework (Resource Center).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published