Josnif / inworld-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat example

This folder contains server to generate token using API key and chat react application.

Requirements

  • Node 16 is recommended for generate token application.

Installation

Setup variables in .env file for generate token application

Name Description Details
INWORLD_KEY Inworld application key Get key from integrations page
INWORLD_SECRET Inworld application secret Get secret from integrations page

Setup value in environment for chat application

Specify REACT_APP_INWORLD_CHARACTER and REACT_APP_INWORLD_SCENE (or fill corresponding fields on application web form after start)

Install dependencies for both applications

yarn install

Start applications

yarn start

About


Languages

Language:TypeScript 99.2%Language:CSS 0.6%Language:HTML 0.2%