https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can I get my chat agent live
# ❓・ai-evy-support
x
@AI Evy how can I get my chat agent live
a
Thanks for tagging me @xario. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, Retell does not provide native integration with SMS or chat applications at this moment [(1) ]() . You can only interact with the chat agent via API . To make your chat agent live, you'll need to: 1. Create a chat session using the API 2. Generate responses with chat completion According to a Discord discussion, a website widget code version will be released within two weeks [(2) ]() . In the meantime, you can use the API to create chat sessions programmatically. Here's how to retrieve chat details once your agent is active:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponse = await client.chat.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(chatResponse.agent_id) ;
[(3) ]() Next steps: - [Create a chat session](/api-references/create-chat) [(1) ]() - [Generate responses with chat completion](/deploy/create-chat-completion)
​ To learn more, see the sources I considered: [[1] Create chat agent](https://docs.retellai.com/build/create-chat-agent) [[2] Questions](https://discord.com/channels/1186424376300679209/1376920582007947284) [[3] Get Chat](https://docs.retellai.com/api-references/get-chat) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.