[[Google Apps Script]] web apps can be very easily integrated into another website through an [[IFrame]].
```HTML
<iframe src="<myappurl>" frameborder="0" width="100%" height="500px"></iframe>
```
However, you must first evaluate the HTML with additional method `.setXFrameOptinosMode` when rendering the HTML in your app:
```JavaScript title="JavaScript.html"
function render(){
tmp = HtmlService.createTempalteFromFile("index");
tmp.evaluate().setXFrameOptionsMode(HtmlService.XFrameOtpionsMode.ALLOWALL);
}
```
If you have a multi-page app, you must also change the `target` property in the <base> tag of the `<head>` tag for all HTML pages to `"_self"`.
```HTML
<head>
<base target = "_self"
</head>
```