Getting logged out
# support
c
Hey guys I'm new to vapi and whenever i go back to my computer to work on my assistant i am logged out and then when i log back in everything that i prompted all of the different specifics are gone and it back to square one how do i fix this problem?
v
Suggestion: To prevent losing your assistant's configuration after logging out, save your assistant as a permanent configuration on Vapi's servers. This way, your setup is stored and accessible even after you log back in.
Copy code
bash
curl -X POST "https://api.vapi.ai/assistant" \
  -H "Authorization: Bearer $VAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "My Assistant", "model": { ... }, "voice": { ... }, "firstMessage": "Hello!" }'
This ensures your assistant and its settings persist across sessions. [Learn more about permanent configurations →](https://docs.vapi.ai/assistants/concepts/transient-vs-permanent-configurations) Source: - [Transient vs permanent configurations](https://docs.vapi.ai/assistants/concepts/transient-vs-permanent-configurations)
p
Hi everyone, I can help you solve this kind of issues, this truly my area of specialization. Let's have a chat now and proceed to your project. Thanks
c
Hi Colt, Here are the steps you should follow to prevent losing your work: 1. Use the CLI to backup your assistant configurations:
Copy code
# List your assistantsvapi assistant list# Export specific assistant configurationvapi assistant get <assistant-id>
This way, you can save your configurations locally.[1](https://docs.vapi.ai/cli) 2. For login persistence issues: - Make sure you're using the latest version of your browser - Check that cookies are enabled for [dashboard.vapi.ai](http://dashboard.vapi.ai) - Use the "Remember me" option when logging in - Try clearing your browser cache and cookies if issues persist 3. Best Practices: - Save your prompts and configurations in a separate document as backup - Use version control or the CLI to manage your assistant configurations - Export important configurations after making significant changes
2 Views