Lewati ke konten utama

Integrations

System Integrations

System Integrations

Perfect10's Integrations feature enables seamless connectivity with external systems, supporting deployment through REST APIs and Web Widgets.

REST API Integration

  1. Access the Integrations menu.
  2. Select the REST API tab.
  3. In API Key Management, click Generate New Key.
  4. Specify Allowed Domains (e.g., * for all domains or specific URLs).
  5. Use the API to integrate with applications, dashboards, or ticketing systems.

Web Widget Integration

  1. Navigate to the Integrations menu.
  2. Select an agent (e.g., "Nike Sales Support").
  3. Enter the API Key in the api_key field.
  4. Copy the HTML snippet and insert it before the </body> tag:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Perfect10 API</title>
</head>
<script
src="https://perfect10.id/widget.js"
data-agent-id="15"
data-api-key="YmtYBPpPVjcPP1wDtz1lMcHvruPyPqumShd5IC77ng"
defer
></script>
<body></body>
</html>

How to Integrate with Web Widgets

Implementation Outcomes

  • A chat icon appears in the bottom-right corner of the website.
  • Clicking the icon opens a chat window with the selected AI agent.
  • Users can engage in real-time, context-aware conversations globally.

Security Considerations

  • API Key Protection: Never expose API keys publicly.
  • Domain Restrictions: Configure Allowed Domains to limit access, ensuring compliance with global security standards.

Note: Integrations support enterprise-scale applications across regions.

Tip: Test integrations in a staging environment to ensure seamless deployment.