> ## Documentation Index
> Fetch the complete documentation index at: https://kb.paymentsmojo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting a point of sale

> Two ways to take card-present payments from a POS through Mojo Payments.

The **POS Gateway** takes card-present payments for a point of sale: it drives the merchant's CardPointe terminal,
authorizes through CardConnect, and answers the POS with the result. There's no payment server to run in the store.

```
POS ──▶ POS Gateway (posgateway.paymentsmojo.com) ──▶ CardConnect
                                              └─▶ the CardPointe terminal at the register
```

## Two ways to connect

<CardGroup cols={2}>
  <Card title="Call the API" icon="code" href="/api/overview">
    For a POS that can make HTTPS requests: send each action to the gateway and read the JSON or XML answer.
  </Card>

  <Card title="Use the Mojo Payments CLI" icon="terminal" href="/cli/overview">
    For an on-premises POS that runs a program and reads a file: the `mojo` command does the HTTPS call for it.
  </Card>
</CardGroup>

Either way, the POS needs a **POS Gateway key** for each register ([Keys](/api/keys)).

## Your POS

Some point-of-sale systems have their own setup steps. See the [POS guides](/pos/overview).

## Before you start

The merchant needs POS Gateway turned on at the location, the location's MIDs ready, and a key made for each register.
See [POS Gateway for merchants](/merchants/pos-gateway).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.