All Collections
Getting Started
Installation
What CSP rules do I need for Upscope to work?
What CSP rules do I need for Upscope to work?
Upscope needs to run javascript code on your website and connect to our server. These are the Content Security Policy rules you'll need.
Joe avatar
Written by Joe
Updated over a week ago

If your site uses a CSP, here’s the minimal set of CSP rules needed to get up and running with Upscope's JavaScript SDK:

script-src 'self' https://code.upscope.io https://js.upscope.io;
connect-src wss://*.upscope.io https://*.upscope.io;
media-src https://js.upscope.io;
child-src https://storage.upscope.io;
img-src https://app.upscope.io https://app-cdn.upscope.io;
Did this answer your question?