Skip to content

kumarsks619/admin-panel-ym

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Chatbot Dashboard works with Firebase database (firestore).

STEP 1:

Go to Google Firebase and sign in with your google account.

STEP 2:

Create a new web app in the firebase.

STEP 3:

When the app is created successfully, go to its settings and inside the General Settings scroll down to find the "Firebase SDK Snippet".

STEP 4:

Find the radio button there i.e. labeled "Config". Click on that button and find your API keys object there.

STEP 5:

Now copy the whole API keys object and then in this repo go to src > components > ChatbotDashboard > config > firebase > index.js and replace the comment there with your API keys.

STEP 6:

Now in the root directory, run the command: npm i (to install all the project packages and dependencies).

STEP 7:

Now the chatbot Dashboard is ready. Now you just need the Chatbot chat console to chat with bot (which is in the "chatbot-ym" repo).

NOTE: The API keys must be same for the Chatbot and the Dashboard. You need to create the new app in Firebase only ONCE. Then use the same API keys in both.