# Step 6: Create a script for Digital River compliance terms

To ensure compliance with Digital River's terms and conditions, you may need to integrate specific scripts into your store's checkout process. This guide will walk you through creating and adding a script for Digital River compliance terms using the Script Manager. Follow the instructions below to complete the integration seamlessly.

The Script Manager is a visual organization of the scripts installed on your store. You can manage any scripts installed via our API or added directly from the Script Manager from this page.

To create a script for the Digital River compliance terms:

1. Click **Storefront** in the app menu on the left and then click **Script Manager**. The Script Manager page appears.
2. Click **Create a Script**. \
   ![](https://385943888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYQsO02eKz9DuHs39Wm-694727794%2Fuploads%2F7H39J2Iw71m16ZcdnQpn%2FCreate-a-script.png?alt=media\&token=02895434-5391-44b4-8b45-887a540e3add)
3. Enter `DigitalRiver Compliance Terms` in the **Name of script** and **Description** fields.\
   ![](https://385943888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LqH4RJfLVLuHPXuJyTZ%2Fuploads%2FJI39x7mSzJ2ReGnt06fk%2FName-of-script.png?alt=media\&token=631793b3-8442-4a33-a40c-4a53dbdd6adc)
4. Select the **Footer** option for **Location on page**.\
   ![](https://385943888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYQsO02eKz9DuHs39Wm-694727794%2Fuploads%2F7I6TfRg3k2lYBFLE458C%2FLocation-on-page.png?alt=media\&token=20f86be1-2303-445d-b097-1f537ec1f791)
5. Select the **Checkout** option for **Select pages where script will be added**. \
   ![](https://385943888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYQsO02eKz9DuHs39Wm-694727794%2Fuploads%2FdYRKtAuTaHt1LjJ8gnX5%2FCheckout.png?alt=media\&token=f6102274-bb45-4e5f-804e-0b82a2634ad6)
6. Select the **Essential** option for the **Script category**.\
   ![](https://385943888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYQsO02eKz9DuHs39Wm-694727794%2Fuploads%2FLHwxoQ296jhW5Iffz7oW%2FScript-category.png?alt=media\&token=83531184-b88f-4c18-8e05-8b73e8ad90ac)<br>
7. Select the **Script** option for the **Script type**.\
   ![](https://385943888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYQsO02eKz9DuHs39Wm-694727794%2Fuploads%2FXNEttakHftiKtYJWQ5bR%2FScript-type.png?alt=media\&token=85eaeeff-f9c0-4757-ba6a-850e07f1e5ed)
8. Copy the script your Digital River Project Manager provided and paste it into the **Script contents** field.&#x20;
9. Change the key highlighted in yellow to your API public key in the script. \
   ![](https://385943888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LqH4RJfLVLuHPXuJyTZ%2Fuploads%2FJtq8UzuYVLqSi4m1bjOV%2FScript-contents.png?alt=media\&token=00079394-471e-48c9-bd4c-7e8589c65386)
10. Click **Save**.
