Skip to content

Commit

Permalink
Chat start on open
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgodfrey committed Nov 17, 2023
1 parent 282bd94 commit f233c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions my-app/src/components/chatbot/DialogflowChatWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const DialogflowChatWidget = () => {
dfMessenger.setAttribute('project-id', 'white-sunspot-403307');
dfMessenger.setAttribute('agent-id', '48d6d88b-9934-406d-8523-e3ec7f4f7381');
dfMessenger.setAttribute('language-code', 'en');
dfMessenger.setAttribute('intent', 'default.start');

// for the chat bubble to appear
const chatBubble = document.createElement('df-messenger-chat-bubble');
Expand Down

0 comments on commit f233c5f

Please sign in to comment.