# Overview
The Javascript API allows you to integrate Iteras functionality directly into another site. To get access to the API, you need to include the API Javascript in your page.
If you have set up a custom domain inside Iteras for the self-service and ordering pages, you
can access the API from that subdomain, e.g. with the subdomain subscriptions.yoursite.com:
<script src="https://subscriptions.yoursite.com/static/api/iteras.js"></script>
If not, you can reference the API from Iteras like this:
<script src="https://app.iteras.dk/static/api/iteras.js"></script>
Then you can call various methods on a global Iteras object, e.g.
<script>
document.write(Iteras.orderingiframe({ profile: "myprofile", orderingid: "XXXXX" }));
</script>