Bubble.io and Cloudflare

A very brief explanation
Having searched a lot around how to set up Bubble.io using Cloudflare I finally got to the bottom of things.
Bubble is a hosted platform and works best when you ALIAS your DNS to point at app.bubble.io. Due to the vagaries of DNS this can be a bit confusing and since this is a relaively new feature, the documentation doesn’t seem to have caught up.
In Bubble set up your domain via [Settings → Domain/email] and enter your domain name.
With your domain host — redirect your nameservers to Cloudflare.
In Cloudflare remove any A NAME records and create 2 new CNAME records:
Type: CNAME
Name: @
Target: app.bubble.io
Type: CNAME
Name: www
Target: app.bubble.io
CNAMEs now pointing at Bubble you can check whether things are working over at https://toolbox.googleapps.com/apps/dig/ by typing in yourdomain.com expecting:

and www.yourdomain.com expecting:

Cloudflare is pointing at bubble and bubble is managing the IP addresses. IT can take a while for the DNS to fully propagate — up to 24 hours (mileage may vary).
