https://retellai.com/?utm_source=discord&utm_medium=seo logo
is there a way to provide a client interface (for ...
# ❓・ai-evy-support
c
@AI Evy is there a way to provide a client interface (for client testing) for web calls? I really don't want my clients logging into the configuration workspace... they can do too much damage. i just want the "testing" page
a
Thanks for tagging me @chaddperry. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can build your own simple client-facing testing interface using the Retell Web SDK without giving clients access to the dashboard. How it works: 1. Backend: Your server calls the Create Web Call API to get an
access_token
[(1) ]() 2. Frontend: Use the Retell Web SDK to start the call with that token [(2) ]() Setup: Install the SDK:
Copy code
bash
npm install retell-client-js-sdk
Initialize and start the call:
Copy code
javascript
import { RetellWebClient } from "retell-client-js-sdk";
const retellWebClient = new RetellWebClient() ;
Copy code
javascript
await retellWebClient.startCall({
  accessToken: createCallResponse.access_token,
}) ;
Your backend would handle the
create-web-call
API call (which requires your API key) , and your client-facing page only receives the
access_token
to initiate the call. This way, clients interact with a simple interface you control—they never see your API key or the configuration workspace.
​ To learn more, see the sources I considered: [[1] Create Web Call](https://docs.retellai.com/api-references/create-web-call) [[2] Connect to web call](https://docs.retellai.com/deploy/web-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.