Shopify - how to allow channel automatically

We have an editor which creates custom products and we need to create these products in the Shopify admin. In the editor we use a Shopify Buy Button which is linked to a product ID. An intended flow is:

  1. Create a product with API
  2. Get product’s id from response
  3. Add this ID to a buy button The problem is newly created product needs to be allowed for Buy Button use manually. Shopify Admin Screenshot Is there any way how to make that happen automatically?