How to Integrate Shopify into your Strapi Website

how to get all products from shopify?
tried the following but getting empty array

async find(ctx) {
let entities;
if (ctx.query._q) {
entities = await strapi.services.product.search(ctx.query);
} else {
entities = await strapi.services.product.find(ctx.query);
}

return entities.map(async (entity) => {
  entity.shopify = await shopify.product.get(entity.shopifyID);

  return sanitizeEntity(entity, { model: strapi.models.product });
});

}