# Step 1: Embed Surface Scripts



Check out the [**How to Get Site ID**](/docs/surface-tag/installation#where-to-find-your-site-id) page to get your site ID.

### Surface Tag [#surface-tag]

Add the following script tag inside your `<head>` tag:

```html
<!-- Start Surface Tag -->

<script 
	src="https://cdn.jsdelivr.net/gh/trysurface/scripts@latest/surface_tag.min.js"  
	siteId="YOUR_SITE_ID" // Replace with your site ID
></script>

<!-- End Surface Tag -->
```

### Surface External Script [#surface-external-script]

Embed the script at the end of the `<body>` tag:

```html
<script siteId="YOUR_SITE_ID">
  const surfaceExternalForm = new SurfaceExternalForm();
  surfaceExternalForm.attachFormHandlers();
</script>
```
