# Lavenir Chat Agent Dashboard

The Users side from LavChat

# Clients Manual:

# How to Install:

Please add a new view or dashboard.html inside your web server:

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>LavchatAgent</title>
  <base href="https://lavchat-agent.lavenirapps.co/">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
  <link rel="stylesheet" href="styles.css"></head>
</head>
<body style="margin: 0; overflow: hidden;">
  <lvc-client id="<-REPLACE-BY-CLIENT-ID->"></lvc-client>
  <script src="polyfills-es5.js" nomodule defer></script>
  <script src="polyfills-es2015.js" type="module"></script>
  <script src="main-es2015.js" type="module"></script>
  <script src="main-es5.js" nomodule defer></script>
</body>
</html>

Please be sure to replace the: <-REPLACE-BY-CLIENT-ID-> by the production user id

Note: Its important to serve this file in your nginx/apache/node/static server, just open like html don't work

# Staging Area Install (Dev Sandbox):

The staging area is a test sandbox to see all new features from lavchat. to install the staging area add a new view or dashboard-sandbox.html inside your web server:

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>LavchatAgent</title>
  <base href="https://lavchat-agent-stg.lavenirapps.co/">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
  <link rel="stylesheet" href="styles.css"></head>
</head>
<body style="margin: 0; overflow: hidden;">
  <lvc-client id="<-REPLACE-BY-CLIENT-ID->"></lvc-client>
  <script src="polyfills-es5.js" nomodule defer></script>
  <script src="polyfills-es2015.js" type="module"></script>
  <script src="main-es2015.js" type="module"></script>
  <script src="main-es5.js" nomodule defer></script>
</body>
</html>

Note: Just change the url to https://lavchat-agent-stg.lavenirapps.co/