# How to enable developer options when the chatbot type is Embed?

Collectchat gives you developer options [https://developers.collect.chat/] to
customize your chatbots based on the conversation and interactions between user
and chatbot. By default, these options are only available when the chatbot is
used as Widget
[https://collect.chat/help/article/1004-how-to-add-chat-widget-to-website].



To enable these developer options for the chatbot when the Chatbot type is
Embed, you need to add the following snippet code along with your chatbot Embed
[https://collect.chat/help/article/1005-how-to-embed-your-form-in-a-webpage]
code.

<script type="text/javascript" src="https://collectcdn.com/embed.js"></script>

First go to your Settings > General > Chatbot type and choose Embed as Chatbot
type

Then go to Share and copy the iframe code.



Then wherever you place the embed code, you have to add the above mentioned
snippet code. So it will look like:







Note



Following JavaScript methods are not available for Embed chatbots.

collectchat.config()
collectchat.open()
collectchat.close()
collectchat.toggle()
collectchat.load()
collectchat.unload()
collectchat.onThankyou()

You can use rest of the functions mentioned in developers.collect.chat
[https://developers.collect.chat]