Install
Add the package from npm and enable the plugin in your Strapi app.
From npm
Use the published package in your Strapi project (recommended for teams and CI):
npm install strapi-plugin-narration
Local development
For plugin development you can use npm pack, file:../strapi-narration, or workspaces. Omit resolve in config/plugins.ts when the package is a normal node_modules dependency.
Enable in Strapi
Register the plugin and pass configuration (API keys via env() is recommended):
export default ({ env }) => ({
narration: {
enabled: true,
config: {
apiKey: env("ELEVENLABS_API_KEY", ""),
modelId: env("ELEVENLABS_MODEL_ID", "eleven_multilingual_v2"),
},
},
});
Use resolve: only when developing via a local path / monorepo link.
Rebuild the admin (npm run build) and restart Strapi after changes.
Continue with Configuration for keys, dry-run, and content-type options.