# How to enable Protected Customer Data Access in dev/staging environments? SHOPIFY APPS

**URL:** <https://community.shopify.dev/t/how-to-enable-protected-customer-data-access-in-dev-staging-environments-shopify-apps/16141>\
**Category:** Authentication & Access\
**Tags:** oauth, access-scopes\
**Created:** [May 26, 2025, 4:14pm UTC](https://community.shopify.dev/t/how-to-enable-protected-customer-data-access-in-dev-staging-environments-shopify-apps/16141 "2025-05-26T16:14:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julian\_Bischoff](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@Julian\_Bischoff](https://community.shopify.dev/u/Julian_Bischoff)\
**Post date:** [May 26, 2025, 4:14pm UTC](https://community.shopify.dev/t/how-to-enable-protected-customer-data-access-in-dev-staging-environments-shopify-apps/16141/1 "2025-05-26T16:14:05Z")

</div>

Hi Shopify team and fellow developers,

We’re currently facing issues accessing customer data in our **staging and dev apps** , even though the same setup works fine in our **main app** , which has the **Protected Customer Data Access** permission approved.

Here’s a breakdown of the situation:

* * *

### ✅ What works (Main app)

- In our **main app** , protected customer data (such as `customer.email`, `customer.first_name`, and `customer.last_name`) is retrieved successfully.
- The access scope was approved on **February 4, 2025** (see screenshot 2).
- Orders, customer details, and all required data load as expected from the Shopify API.

 ![image](https://global.discourse-cdn.com/shopifycommunity/original/2X/a/a8530b5d0b473f9f4e2ff85138805738434c7248.png)

* * *

### ❌ What doesn’t work (Staging & Dev)

- In both our **`seedid-staging`** and **`seedid-testing`** apps, we’re still getting an `ACCESS_DENIED` error when attempting to fetch customer data (see screenshot 1).
- The apps are still in **draft** status, and we assume this may be why permissions aren’t granted or enforced.
- We’ve confirmed that the required scopes are declared in the app setup, and the collaborator has the right permissions.
- 

 ![image](https://global.discourse-cdn.com/shopifycommunity/original/2X/5/5647dac675a34ddd174024f0c5d94bf4e176c86d.png)  
 ![image](https://global.discourse-cdn.com/shopifycommunity/original/2X/3/39e48e01e50b64707a3c138024d740244c85a947.png)  
 ![image](https://global.discourse-cdn.com/shopifycommunity/original/2X/f/f73fdce1dae31cfc9ff14ad84ffef8f07c048417.png)

* * *

### 🔍 What we’re trying to understand

- **How can we enable protected customer data access in draft/dev apps (not yet public on the Shopify App Store)?**
- Is there a process to request these permissions in staging/testing environments for development purposes?

* * *

### 💡 Additional Context & Compliance Proposal

We understand that the data we need to access is **sensitive PII** and fully agree that it must be handled in compliance with data privacy regulations. The specific data points we need are:

- `customer.email`
- `customer.first_name`
- `customer.last_name`

Would such an approach be acceptable in dev environments, and is there a way to request **limited scoped test access** to this type of data?

Any insights or guidance from the Shopify team or others who have solved this would be greatly appreciated.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![DNorman](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@DNorman](https://community.shopify.dev/u/DNorman)\
**Post date:** [October 30, 2025, 8:59pm UTC](https://community.shopify.dev/t/how-to-enable-protected-customer-data-access-in-dev-staging-environments-shopify-apps/16141/2 "2025-10-30T20:59:32Z")

</div>

Can we please have an answer to this? How are we supposed to develop apps if the app needs approval before it’s ready to submit?

---

<div class="post-metadata">

**Author:** ![TerenceShopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/terenceshopify/32/630_2.png) [@TerenceShopify](https://community.shopify.dev/u/TerenceShopify)\
**Post date:** [October 30, 2025, 9:06pm UTC](https://community.shopify.dev/t/how-to-enable-protected-customer-data-access-in-dev-staging-environments-shopify-apps/16141/3 "2025-10-30T21:06:25Z")

</div>

Once you make you distribute your app as a public app you can submit a request for protected customer data access. It’s not necessary to submit your app for app store review in order to request access.

---

<div class="post-metadata">

**Author:** ![Daniel\_Main](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@Daniel\_Main](https://community.shopify.dev/u/Daniel_Main)\
**Post date:** [November 12, 2025, 10:29am UTC](https://community.shopify.dev/t/how-to-enable-protected-customer-data-access-in-dev-staging-environments-shopify-apps/16141/4 "2025-11-12T10:29:27Z")

</div>

I also have this issue, I filled the form to request PCDA but there is no submit button. What a UX 🤦🏻

 ![CleanShot 2025-11-12 at 11.27.00@2x](https://global.discourse-cdn.com/shopifycommunity/original/2X/d/de972b77e867f85bf3b321b46464648f58fabcdf.png)

---

<div class="post-metadata">

**Author:** ![Amer](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@Amer](https://community.shopify.dev/u/Amer)\
**Post date:** [December 2, 2025, 7:03pm UTC](https://community.shopify.dev/t/how-to-enable-protected-customer-data-access-in-dev-staging-environments-shopify-apps/16141/5 "2025-12-02T19:03:39Z")

</div>

Found out why, you need to read the requirements, it has something to do with your answers
