You will need to create a subscription policy using Shopify.
We recommend using Shopify’s subscription policy template and then modifying it to your needs.
Once you add a subscription policy we will automatically link to it in the customer portal and the 404 error will be resolved.