Set OpenSecrets API Key to ENV variable OS_KEY. More information about the API can be found here: https://www.opensecrets.org/resources/create/apis.php
1  | set_os_key(api_key)
 | 
api_key | 
 OpenSecrets API Key  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.