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

# SageX3

> Connect Alumio to SageX3.

## Extra information

Connector package documentation:
System documentation:

**SageX3**

**Default Documentation**

**This Documentation is Written Based on Alumio and SageX3 API Reference**

# Setting up HTTP Client SageX3

* In Alumio Dashboard, go to Clients > HTTP Clients. Create a new HTTP Client and select Default prototype.
* Add an Authentication > Oauth2 authentication and select the Provider as Generic.
* On the Grant Type Select Interactive Autorization.
* Fill in the Required Fields (Client ID, Client Secret, Token URL, Authorize URL), and press Retrieve an access token key.
* Save

# Subscribing to Entities from SageX3 Steps

* Go to Connections -> Incoming and create a new incoming configuration and select HTTP Subscriber.
* Fill in the Endpoint that you want to call on Request URI.
* Fill in The Method of the Endpoint that you want to call on Request Method.
* Fill in the Request Parameter (Optional).
* On the HTTP Client, select the Client that we have created before.
* Save.

# Publishing Entity to SageX3

* Go to Connections -> Outgoing, create a new outgoing configuration, and select HTTP Publisher.
* Fill in the Request URI with endpoint that you want to call from SageX3.
* Fill in the Request Method with Method that you want to Call from the Endpoint.
* You can optionally add any parameters to the request.
* Select the HTTP Client to use.

# Notes and FAQ

* How do you Get the JWT Token?
  * Based on what Written [Here](https://developer.sage.com/x3/authorization-token-endpoints/token-api/), it says that
  * “Tokens obtained through our authorization process are JSON Web Token (JWT) signed tokens”
  * It Means that the JWT Token are from the *Authorization process* gives you the JWT Token.
    in Simple Terms you only need to proceed with Oauth2 and will retrieve something like this :
  * Note : The **access\_token** is the JWT Token
