Lewati ke konten utama

Integrations

System Integrations

System Integrations

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

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.

WhatsApp Integration

  1. Go to the Integrations menu.

  2. Select the WhatsApp tab.

  3. Click Connect WhatsApp Account.

  4. A QR Code will appear on the screen.

  5. Open WhatsApp on your mobile device → go to Settings → Linked Devices.

  6. Tap Link a Device and scan the QR Code displayed on Perfect10.

  7. Once connected, your WhatsApp account will be linked to Perfect10 for agent communication.

Implementation Outcomes

  • Users can chat with Perfect10 AI Agents directly through WhatsApp.

  • Supports real-time, two-way messaging with context-aware responses.

  • Messages are automatically logged into the Perfect10 system for monitoring and analytics.

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.