Getting Started

Learn how to create your first agent with Marseil AI

Welcome

Marseil AI helps you create an agent from your documents that you can embed in any website.

Create an Organization

This is the first step to create an agent. You will be asked to create an organization when you log in for the first time. An organization can hold multiple projects, and each project refers to an agent.

Create a Project

Once you create your organization, you will be prompted to create a project. A project is an agent that you can embed in your website.

Choose a name for your project and click on create project. You will be redirected to the project analytics.

Upload Documents

  • Go to Knowledge base tab and click on New Document button.
  • Select the type of document β€” currently Web, Text and Files are available. More coming soon.
  • If you want to just fetch that page, disable the load all path switch.
  • Click on Fetch Documents. This will fetch all the pages from your website.
  • You can de-select the pages you don’t want and click on create.
  • The indexing time depends on the size and complexity of your website. It may take a few minutes to fetch and process the documents.
  • You can safely navigate away and come back later to see the Index status. Once Indexed, you can start asking questions.

Talk to Your Docs

  • Once you have indexed your documents, your agent is ready to answer questions.
  • To start asking questions, open the project and go to Chat with Agent in the side navigation bar.
  • If you want to integrate your agent into your website, go to Customize Agent and set your preferences. Click the Embed button to copy the script and paste it into your HTML.
  • You can also share a link to your agent using the Share button. Only users with the link will be able to chat with your agent.

Update Documents

  • Say you have some new pages or updated some content of the page. You can easily update this data.
  • On the Knowledge base tab, click on the πŸ”„ icon. This will take you back to the same form you used to create the documents.
  • You can now fetch the documents again and update the data.

API & Rate Limits

If you are using the Marseil AI API or our embed widget, please note:

  • Authentication: Endpoints like /api/v1/chat and /api/v1/endConversation require your Project API Key to be passed in the Authorization header. Your API keys are securely hashed in our database.
  • Rate Limiting: To ensure stable service, our chat endpoints are rate limited per IP address and per project.
  • Billing: Unused credits do not roll over. At the start of a new billing cycle, your credits are reset to the exact allowance of your subscription plan.