Your API key needs to be available in production. This covers the two most common approaches: environment variables and Rails credentials.
Environment variables
Set the OGPLUS__API_KEY environment variable on your hosting platform.
Fly.io
fly secrets set OGPLUS__API_KEY=$OGPLUS__API_KEYHeroku
heroku config:set OGPLUS__API_KEY=$OGPLUS__API_KEYRender
render env:set OGPLUS__API_KEY=$OGPLUS__API_KEYRailway
railway variables set OGPLUS__API_KEY=$OGPLUS__API_KEYDocker
docker run -e OGPLUS__API_KEY=$OGPLUS__API_KEY your-imageRails credentials
If you’re using Rails credentials, ensure your production credentials include the opengraphplus.api_key value. See the Rails credentials documentation for setup details.