The key idea

An AI API lets a website send information to an AI service and use its response. It does not automatically give the service your inventory, order records or authority to perform business actions.

What does API mean in AI?

API stands for application programming interface. In AI, it is a defined way for software to request a task from an AI service and receive a result. Your website provides the interface visitors see; the API provides the connection to the service doing the AI work.

For example, a visitor could ask your website to explain the difference between two products. The website sends that question with relevant product details, then displays the answer returned by the AI service.

The visitor does not need to understand the API. As the website owner, you need to understand its role well enough to choose the task, provide reliable information, and ask your developer the right questions.

What happens when someone asks a question?

A typical website interaction has four steps:

  1. The visitor provides a request. They might ask, “Which delivery option suits a small order?”
  2. The website prepares the AI request. It adds the relevant delivery policy and instructions about how the assistant should respond.
  3. The AI service produces an answer. The output depends on the request, supplied context and service capabilities.
  4. The website presents the response. Its interface should make loading, errors and follow-up questions understandable.

Each new request to the service counts as an AI call. A conversation containing several questions normally uses several calls. Displaying a chat box alone does not determine how many calls an interaction will use.

What information does your website need to supply?

Start with the facts the assistant needs for its assigned job. A product assistant needs accurate product descriptions. A policy assistant needs the current return and delivery rules. A writing helper needs the text to work on and the intended audience.

These facts do not appear simply because the assistant is installed on your domain. Do not assume an AI integration automatically reads every page, knows your stock, or understands unpublished business policies.

For a Saudi online store, a useful test could provide a hypothetical policy stating that standard delivery takes three to five business days and costs 20 SAR. The assistant should explain those supplied terms. It should not invent a delivery date for a particular order or claim to have checked a courier.

Keep changing information current. If delivery terms change, update the information your integration supplies before expecting the assistant to reflect the new policy.

Customising the assistant is different from training a model

You can often create a useful website feature by configuring an existing AI service. With Gammal Tech, developers can use system instructions to describe the assistant's role, preferred language, answer style and limits.

A sensible instruction might ask the assistant to explain only the supplied product information, acknowledge missing details, and keep answers short. These instructions guide behaviour; they are not a guarantee that every answer will be correct.

This approach does not require building or training an AI model from scratch. It does require testing. Try incomplete questions, questions outside the assistant's role, and requests that contradict the supplied information. Review what the assistant actually answers, not just whether a response appears.

An answer does not complete a business action

An assistant explaining how to return an item has not created a return request. An answer describing a booking process has not reserved an appointment. Separate software must perform those actions, with its own permissions and confirmation steps.

Website featureWhat it needs
Explain a return policyCurrent policy supplied to the assistant
Compare two productsAccurate details for both products
Show live availabilityA separate connection to current stock data
Submit an orderAn implemented ordering workflow and user confirmation

Use wording that matches the implemented capability. “I can explain the delivery policy” is appropriate for a policy assistant. “I have checked your order” requires an actual authorised order lookup, not a plausible-sounding generated response.

How Gammal Tech fits a website project

Gammal Tech provides ready-made AI that developers can add to websites and customise with instructions. Access uses whitelisted HTTPS domains rather than API keys. It is intended for websites, not native mobile apps.

A project includes 200 free signed-in AI calls per month. Visitors must be signed in for those calls to qualify; the website owner's approved account does not sign visitors in automatically. See the AI API pricing guide when estimating a larger workload.

Identity verification happens privately through Gammal Tech. Partner developers do not receive users' phone numbers, email addresses, legal identities or identity documents from the service. An application can retrieve information it previously saved itself, such as a user's chosen interface language, rather than request a hidden identity profile.

Questions website owners often ask

Is an AI API the same as a chatbot?

No. A chatbot is an interface and interaction pattern. An AI API can power that interface, but it can also support a text explanation tool, a rewriting feature, or another clearly defined task.

Does adding an API make the assistant know my business?

No. Your integration must supply the information needed for the task or implement appropriate data connections. Start with a limited, well-documented use case and expand after testing it.

What should I ask my developer before starting?

Ask what task the assistant will perform, where its facts come from, which actions it can really complete, how visitors sign in, and how requests will be counted. These answers turn a broad AI idea into a reviewable website feature.

Start with a focused website project

If your account is already approved, start at step 2. Follow these actions inside your own account:

  1. Open the registration page, create your account once and complete the identity checks shown there. The standard document is a National ID from a country whose citizenship you hold; read the document requirements and limited Egyptian exceptions. Wait for approval before integration; approval can take up to 10 days.
  2. Sign in to your account, then open Developer Mode. You will see your project list.
  3. Select an existing project, or click Create Project for a new one. Open its page and record the project ID, pid. This is public configuration, not a secret key.
  4. In project settings, add the HTTPS domain that will run your website. Register the www hostname and the hostname without it separately if visitors use both.
  5. Follow this guide’s integration example or exercise on the registered website. Check one complete task from start to finish and record what happens before adding more features.

Start with one useful website task and the signed-in AI route to use the 200 free monthly calls per project.

Source and service details

Integration and pricing details are based on the Gammal Tech guide. Check the documentation before publishing or changing your project configuration.

Articles & Guides