Your agent’s key, and how to replace it
The key in your install code is public by design. If you want a new one, replace it from the Install tab and update your site.
Every agent has one key, the pk_live_… value inside its install code. You don’t create it: it’s made with the agent and shown in the code on the Install tab, under Key and access.
Is it safe that the key is visible?
Yes. The key is public by design: anyone can see it in your page’s source, like any website’s code. What protects your agent is the Allowed websites list (the key does nothing on other sites) and Audiont’s limits per visitor and per day.
There is no secret key to keep on your server, and Audiont will never ask you for your password or a key in a support request.
Replace the key
Replace it if you’d like a fresh one, for example after removing the agent from a website you no longer control.
- Open the agent’s Install tab.
- In Key and access, find Revoke and replace key and choose Replace key….
- Type
replaceto confirm, then choose Revoke and replace key. - Copy the new install code and put it on every site that used the old one.
The old key stops working at once. Your website shows no voice button until it has the new code.
“Unknown key” or “needs its key”
If the browser console on your site says the key is unknown, it was replaced or the agent was deleted: copy the current code from the Install tab. If it says the agent needs its key, the line was edited by hand: copy it again rather than retyping it.
Want to stop the agent without replacing anything? Use Pause on its Overview or Install tab, and Resume later.