{"id":26585,"date":"2023-06-29T04:16:06","date_gmt":"2023-06-29T08:16:06","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=26585"},"modified":"2025-08-13T11:54:24","modified_gmt":"2025-08-13T15:54:24","slug":"magento-2-csp-reports-v1-x-installation","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation","title":{"rendered":"Magento 2 CSP Reports v1.x Installation"},"content":{"rendered":"\n<p>In this guide, you will learn how to correctly install the&nbsp;<a href=\"\/magento-csp-reports\">Magento 2 CSP Reports extension<\/a>&nbsp;using two methods \u2013 Installation via the FTP or Composer.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-warning\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Important Information:<\/p>\n\n\n\n<ol><li>First of all, make sure your system meets all the requirements necessary for the correct functioning of our CSP Reports Extension for Magento 2.<\/li><li>For more details on system requirements, please read&nbsp;<a href=\"\/learn\/magento-system-requirements\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Magento 2 system requirements<\/a>.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<p><strong>You can choose one of the following two methods to install the extension on your Magento 2 store:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background\" href=\"#extension-installation-via-composer\" style=\"background-color:#1fb8f5\"><strong>1. Installation via Composer<\/strong><\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background\" href=\"#extension-installation-via-ftp\" style=\"background-color:#c9383d\"><strong>2. Installation via FTP<\/strong><\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group pr-notice pr-hyva-group\"><div class=\"wp-block-group__inner-container\">\n<div class=\"wp-block-group pr-hyva-title-wrapper\"><div class=\"wp-block-group__inner-container\">\n<p>Important Note for Hyv\u00e4 Theme Users:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"400\" height=\"182\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/08\/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67-1.png\" alt=\"\" class=\"wp-image-28595\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/08\/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67-1.png 400w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/08\/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67-1-300x137.png 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/figure>\n<\/div><\/div>\n\n\n\n<p>Magento 2 CSP Reports extension is <strong>compatible with Hyv\u00e4 themes out of the box<\/strong>. Install the extension via Composer or FTP and benefit from its features, all while enjoying the lightning-fast performance of the Hyv\u00e4 storefront.<\/p>\n<\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 id=\"Extension_Installation_via_the_Composer\">Extension Installation via Composer<\/h2>\n\n\n\n<p>In order to install your Magento 2 CSP extension via Composer, open the console (SSH terminal) and follow the steps:<\/p>\n\n\n\n<h3 id=\"h-step-1-switch-to-your-magento-2-root-directory-in-the-terminal\">Step 1. Switch to your Magento 2 root directory in the terminal<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">cd \/FULL_PATH_TO_YOUR_MAGENTO2<\/code><\/pre><\/div>\n\n\n\n<p>where &#8220;FULL_PATH_TO_YOUR_MAGENTO2&#8221; is the path to your Magento 2 folder on your server.<\/p>\n\n\n\n<h3 id=\"h-step-2-add-the-plumrocket-repository-to-your-composer-configurations\">Step 2. Add the Plumrocket repository to your Composer configurations<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">composer config repositories.plumrocket composer https:\/\/plumrocket.com\/repo\/<\/code><\/pre><\/div>\n\n\n\n<h3 id=\"h-step-3-download-plumrocket-extension-files\">Step 3. Download Plumrocket extension files<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">composer require plumrocket\/module-csp-reports<\/code><\/pre><\/div>\n\n\n\n<p>After running this command, you may be prompted to enter the username and password (see the&nbsp;<a href=\"\/docs\/general\/composer-repository-keys\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">How to Get Plumrocket Composer Repository Keys<\/a>&nbsp;user guide).<\/p>\n\n\n\n<h3 id=\"h-step-4-install-database-and-static-resources\">Step 4. Install database and static resources<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\">php bin\/magento cache:flush\nphp bin\/magento setup:upgrade\nphp bin\/magento setup:di:compile\nphp bin\/magento setup:static-content:deploy<\/code><\/pre><\/div>\n\n\n\n<p>After running these commands, the extension should be installed successfully. A similar message should be displayed in your console as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-1-1.jpg\" alt=\"\" class=\"wp-image-14202\"\/><\/figure>\n\n\n\n<p><strong>Next Step<\/strong>&nbsp;&gt;&nbsp;<strong><a href=\"\/docs\/magento-csp-reports\/v1\/configuration\">Magento 2 CSP Reports v1.x Configuration<\/a><\/strong><\/p>\n\n\n\n<h2 id=\"Extension_Installation_via_FTP\">Extension Installation via FTP<\/h2>\n\n\n\n<h3 id=\"h-step-1-download-and-unzip-the-extension-files\">Step 1. Download and unzip the extension files<\/h3>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>Login to your Plumrocket store account: <a href=\"https:\/\/plumrocket.com\/\">https:\/\/plumrocket.com<\/a>.<\/li><li>Go to &#8220;<strong>My Account<\/strong>&#8221; in the menu (to open this page you have to log in first).<\/li><li>Select &#8220;<strong>My Downloads<\/strong>&#8220;.<\/li><li>Click the &#8220;<strong>Download<\/strong>&#8221; link to get the latest version of your extension.<\/li><\/ol>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Download_magento_extension_by_plumrocket.jpg\" alt=\"\"><\/figure>\n\n\n\n<h3 id=\"h-step-2-upload-files-to-the-server\">Step 2. Upload files to the server<\/h3>\n\n\n\n<p>To upload files to the server, you may use any FTP-client. To show you how it works we used the FileZilla FTP-client.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>This is your client side.&nbsp;You will see the unpacked catalog containing the General Data Protection Regulation Extension.<\/li><li>This is your root directory on the server side.&nbsp;This is where the files should be uploaded.<\/li><li>All the files have to be uploaded to the server.&nbsp;Select the files and press right mouse button.<\/li><li>Select the &#8220;<strong>Upload<\/strong>&#8221; option for these files.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Magento_2_regular_installation_by_plumrocket_1-1.jpg\" alt=\"\"><\/figure>\n\n\n\n<h3 id=\"h-step-3-ssh-installation\">Step 3. SSH Installation<\/h3>\n\n\n\n<p>1. In the terminal, switch to your Magento 2 root directory:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">cd \/FULL_PATH_TO_YOUR_MAGENTO2<\/code><\/pre><\/div>\n\n\n\n<p>where &#8220;FULL_PATH_TO_YOUR_MAGENTO2&#8221; is the path to your Magento 2 folder on your server.<\/p>\n\n\n\n<p>2. Update database and static resources:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\">php bin\/magento cache:flush\nphp bin\/magento setup:upgrade\nphp bin\/magento setup:di:compile\nphp bin\/magento setup:static-content:deploy<\/code><\/pre><\/div>\n\n\n\n<p>After running these commands, the extension should be installed successfully. A similar message should be displayed in your console as displayed below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-2.jpg\" alt=\"\" class=\"wp-image-14187\"\/><\/figure>\n\n\n\n<p><strong>Next Step<\/strong>&nbsp;&gt;&nbsp;<strong><a href=\"\/docs\/magento-csp-reports\/v1\/configuration\">Magento 2 CSP Reports v1.x Configuration<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, you will learn how to correctly install the&nbsp;Magento 2 CSP Reports extension&nbsp;using two methods \u2013 Installation via the FTP or Composer. Extension Installation via Composer In order to install your Magento 2 CSP extension via Composer, open the console (SSH terminal) and follow the steps: Step 1. Switch to your Magento 2 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2 CSP Reports v1.x Installation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[376],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Magento 2  CSP Reports Extension v1.x Magento 2 CSP Reports v1.x Installation - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"In this guide, you will learn how to correctly install the&nbsp;Magento 2 CSP Reports extension&nbsp;using two methods \u2013 Installation via the FTP or\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 CSP Reports v1.x Installation\" \/>\n<meta property=\"og:description\" content=\"In this guide, you will learn how to correctly install the&nbsp;Magento 2 CSP Reports extension&nbsp;using two methods \u2013 Installation via the FTP or\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-29T08:16:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-13T15:54:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/08\/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Magento 2  CSP Reports Extension v1.x Magento 2 CSP Reports v1.x Installation - Plumrocket Documentation","description":"In this guide, you will learn how to correctly install the&nbsp;Magento 2 CSP Reports extension&nbsp;using two methods \u2013 Installation via the FTP or","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation","og_locale":"en_US","og_type":"article","og_title":"Magento 2 CSP Reports v1.x Installation","og_description":"In this guide, you will learn how to correctly install the&nbsp;Magento 2 CSP Reports extension&nbsp;using two methods \u2013 Installation via the FTP or","og_url":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation","og_site_name":"Plumrocket Documentation","article_published_time":"2023-06-29T08:16:06+00:00","article_modified_time":"2025-08-13T15:54:24+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/08\/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation#primaryimage","inLanguage":"en-US","url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/08\/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67-1.png","contentUrl":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/08\/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67-1.png","width":400,"height":182},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation#webpage","url":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation","name":"Magento 2 CSP Reports v1.x Installation - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation#primaryimage"},"datePublished":"2023-06-29T08:16:06+00:00","dateModified":"2025-08-13T15:54:24+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"In this guide, you will learn how to correctly install the&nbsp;Magento 2 CSP Reports extension&nbsp;using two methods \u2013 Installation via the FTP or","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1\/installation#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 CSP Reports","item":"https:\/\/plumrocket.com\/magento-csp-reports"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-csp-reports"},{"@type":"ListItem","position":4,"name":"v1","item":"https:\/\/plumrocket.com\/docs\/magento-csp-reports\/v1"},{"@type":"ListItem","position":5,"name":"Installation"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26585"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=26585"}],"version-history":[{"count":5,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26585\/revisions"}],"predecessor-version":[{"id":28685,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26585\/revisions\/28685"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=26585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=26585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=26585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}