@scuticode/shop-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.3 • Public • Published

Typescript Modules

This repo contains @scuticode/shop-sdk typescript modules.

Leading the Future of Business Artificial Intelligence

ScutiCode is a groundbreaking technology company offering a suite of innovative artificial intelligence (AI) products that empower businesses to thrive in today's dynamic world. We believe that AI is the key to unlocking the true potential of every organization, and we are committed to providing powerful, easy-to-use AI solutions that help companies of all sizes and industries achieve their goals

The Scuticode Shop SDK is a TypeScript package designed to provide a seamless integration for incorporating a shopping assistant chatbot into your web applications.

Installation

You can install the Scuticode Shop SDK via npm:

npm install @scuticode/shop-sdk

Usage

To use the web component provided by the Scuticode Shop SDK, include the following script tag in your HTML file:

<script type="module" src="./scuticode-shop-sdk.js"></script>

Then, add the scuticode-shop-dialog custom element to your HTML file:

scuticode-shop-dialog position="center"
                       chatBaseUrl="http://localhost:5018">
</scuticode-shop-dialog>

Attributes

  • position: Specifies the position of the chatbot dialog (e.g., "center", right, left, etc.).
  • chatBaseUrl: Specifies the base URL for the chatbot server.

Example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Scuticode Shop SDK Example</title>
    <script type="module" src="./scuticode-shop-sdk.js"></script>
</head>
<body>
    <scuticode-shop-dialog position="center"
                           chatBaseUrl="http://shop-proxy.scuticode.com/[api-key]">
    </scuticode-shop-dialog>
</body>
</html>

*[api-key] - replace with your scuticode shop api key.

License

This project is not licensed for public use. Usage of this package is restricted to authorized customers of Scuticode.

For more information on licensing and terms of use, please contact Scuticode at Contact us.

Package Sidebar

Install

npm i @scuticode/shop-sdk

Weekly Downloads

1

Version

1.0.0-alpha.3

License

UNLICENSED

Unpacked Size

41.6 kB

Total Files

24

Last publish

Collaborators

  • scuticoder