<script> tag.<script> tag in your webpage's <head> or <body> to import the dtect Security API SDK with your Public API Credentials.getSecurityToken() or getSecurityResult() methods.getSecurityResult and getSecurityToken work by checking our Frontend SDK Introduction.isAIUsageDetected() to check for AI usage manually. If you've set autoFlagAIUsage: true, don't call isAIUsageDetected(), pick one approach, not both.includeResults: true at init if you want checkQualityQuestions and isAIUsageDetected to return their result object directly to the frontend; otherwise they return { token } and you can retrieve the result on your backend using Retrieve a Security Result using a Security Token.