hello all! has anyone tried embedding the bot as f...
# 🌎general
f
hello all! has anyone tried embedding the bot as full page? Any working examples of this? https://botpress.com/docs/cloud/webchat-customization/full-screen-bot/
m
hello , i did integrate it in my react js project as a full page
here is my code it may help you
f
do you mind if you share your bot url so i can test it?
m
i'm sorry i could not do that it has my credentials to test api requests , i'm still looking for a way to send user credentials from backend server to botpress
they are set in static way not dynamically
f
thats understable, thanks for sharing the coded though! appreciate it!
m
your welcome
f
i take it triggers dont work?
just put the standard code up and it didint trigger
m
i don't understand, does it work for you ?
f
yes the full screen chat works, but the triggers dont
m
the trigger option should be demanded to have access to it ? i could not find it anywhere
f
yes exactly
question, did you create your own stylesheet of did you use the botpress styler. I have added a style sheet but its now overriding the dimensions and taken it back to being a nomral chat window
m
i've created my own stylesheet , it should be placed on a cloud service , i'm using vercel.
f
yeah i have my own hosting thats fine, would you mind sharing your stylesheet?
the issue i am facing is i am trying to keep the webchat within its parent container and also make the size of the webchat fit the container. any ideas?
m
ow believe me that's what i was looking for , i spent a lot of time trying to manipulate it as a component but it didn't work , so i just changed it's position as fixed, height and width. this solution is not recommended tho.
if you find out a way, please let me know
f
will do, its so fustrating
m
it is
do you have any idea how pass user credentials or token from web app to the bot , so that it looks like a one full solution without entering the user details in the input message field ?
f
there is not much support for that
sometimes it feels like we aredeveloping botpress for them
m
it's still missing so many necessary features
f
yes thats true
m
hello, did you succeed in integrating your bot ? if yes , i would like to know if it appears twice , like it's reloading itself ! i got this issue and i'm sure i've followed the instructions correctly
f
no i have not succeeding, i am struggling with make the bot a custom width and height within a container only
m
hope you find a way out
f
tbh botpress is being a nightmare these days, im just constantly chasing bugs rather than developing further
m
they are constantly working on new features , i faced a lot of issues too.
2 Views