Integrating Website Search


The Agility Website Search API is a JSON REST API with only a few methods to learn.

You first need to get the embed code from the Agility Search Dashboard by clicking "GENERATE" on the Generate Embed Script section. 

The Agility Website Search JS SDK has a dependency on jQuery. You'll need to ensure that it is loaded prior to loading the following script.

<script src=""></script>
<script type="text/javascript">
Agility.Search.Init({ url: "", websiteName: "MySiteName", lang:"", authKey: "xxxxxxxxxxxxxx" });

 Now, you can either use the simple embed method or write your own Javascript code to use the REST API.

0 out of 0 found this helpful



Please sign in to leave a comment.