The Canva Button is only available for users in China. If your users aren't in China, you can't use the Canva Button. There are no plans to make the Canva Button available outside of China.

HTML API vs. JavaScript API

You can add a Canva Button to a web page using Canva's HTML API or JavaScript API:

  • For a simple integration with a few lines of code, Canva recommends the HTML API.
  • For greater flexibility and a more customized integration experience, Canva recommends the JavaScript API.
  • For web pages rendered dynamically via React, Angular, or a similar framework or library, you must:
    • Render the Canva Button yourself using HTML.
    • Style the Canva Button yourself using CSS.
    • Integrate the Canva Button using Canva's JavaScript API.