@d-id/agent-client
v1.0.145
Published
d-id agent ui
Downloads
89
Readme
agents-ui
Run Locally
yarn install
- Go to studio app (app, not code) on the desired environment
- Go to agents
- Create a new agent if none exist for your account
- Hover the card -> 3 dots -> Embed
- Fill out the menu (add url, etc) and grab the values in
data-client-key
anddata-agent-id
- Create a
.env
file in the root directory - Add
VITE_CLIENT_KEY
andVITE_AGENT_ID
with the values grabbed from the studio yarn run dev
Deploy
- copy aws credentials to cli
- publish to npm registry
- git pull && yarn (main)
- check version in package.json is the current version
- (prod, no staging)from embedded folder: yarn deploy:prod
- post deploy to npm registry: create a pr back to main to update package.json version and yarn.lock if needed
Error solving
- sls deploy fails: remove yarn.lock file and yarn again
- otp failure: add always-auth=true for 2FA from npm