Using the PotatoBot Search API is as easy as adding an iframe with the following extra GET parameters:
<iframe src="api.php?name=Search Engine Name&logo=http://path/to/logo/logo.png&theme=theme_color&favicon=https://path/to/favicon/favicon.png&watermark=true" frameborder="0" style="width: 100vw; height: 99vh;" id="frame"></iframe>If you don't want Powered by PotatoBot on the bottom you can change watermark=true to watermark=false
If you want to Run Custom JavaScript code in your Search API iframe. Link to this Script: https://ioposts.farleyengineeredsolutions.com/_bot/api/main.js and then run the following code in a script: addScript(`// JS code`, "id_of_iframe");