Adding the integration
- Sign into your Vercel account and navigate to the LMNT Vercel integration page.
- Click the
Add integration
button. - Select the Vercel project(s) you want to integrate with LMNT.
- Sign into your LMNT account in the popup to complete the integration.
LMNT_API_KEY
environment variable in your Vercel project(s).
Accessing your LMNT API key
In requests to our servers, you’ll need to reference the LMNT API key that was added by the integration. Here are some examples of how to do so by runtime language:Using LMNT
With your key as enviroment variable, you can now either directly call the LMNT REST and WebSocket APIs or use our SDKs, referenced here:Python SDK
NodeJS SDK
REST API
Explore our REST API reference.
Speech Session Reference
Try the WebSocket API to stream audio/text.
Adding the integration to additional Vercel projects
First, give the integration access permissions to your project(s)- Sign into your Vercel account and navigate to the
Integrations
tab. - Select
Manage
on the LMNT integration. - In your LMNT integration page, select
Manage Access
on the right-hand side of the title row. - Select the projects that you would like to add the LMNT integration to (or select
All Projects
).
LMNT_API_KEY
environment variable to permissions projects.
- Back in the LMNT integration page, select
Configure
on the right-hand side of the title row. - Select the projects that you would like to set up with an LMNT API key environment variable.
If you initially gave the LMNT integration access to all your Vercel projects, any new project you create will
not get the
LMNT_API_KEY
environment variable automatically. You will need to configure the integration to add the variable to new projects (steps 5 and 6 above).