Connect server to cloudflare

Is there a way that we can connect our server to cloudlfare to be automated? Pointing the dns record and creating as subdomain to our main domain name?

Is there a way that we can connect our server to cloudlfare to be automated? Pointing the dns record and creating as subdomain to our main domain name?

You can automate a lot.

https://api.cloudflare.com/