Pro project on Jexia.com Modules: DataSet, Real-time communication, Project Users.
To run the demo first setup Jexia project:
- We need to have dataset with name clients. You can use schemaless approach and do not create fields. I did it to have some basic validations and default values. In this dataset we will keep sessions which was open.
- We need to have another dataset with name chat to keep chat history between client and agent
- Create 1 project user for Agent
- Create API key / secret which we will put into
client/src/jexia.js
- Setup policy for API, we need access for clients and chat dataset - Read, Create.
cd client && npm install
npm run start
- All Jexia initialization happned in
jexia.js
. We started and expose needed models of Jexia. Keep in mind UMS and Real-time it is a pro services. - In Client.js you can find all functiones related to widget
- In Agent.js all features related to
/admin
, which is agent area. - We use 1 pre-defined agent in
Agent.js
which is created in Project user (point 3 above).
If any quesiton feel free to ask in chat.jexia.com or via support.