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

# Guide

> [!WARNING]
>
> You are viewing the documentation of release 26.1, which is no longer the current one. [Go to the documentation of the current release 26.2](https://developers.circularo.com/).

## 1. Activate the integration

* May perform an user with role `System manager`
* On the main screen choose `Integrations` → `Circularo Integration`

![Enable the integration](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123313.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=178878d76fa160d6fea8dcc8b7bea6c4)

* Enable and choose where to show the integration button:
  * View settings:
    * Form view - Detail of one record, see below
    * List view - List of multiple records, see below
  * DocType settings:
    * Either specify individual DocTypes or activate for all of them
    * Singleton is a DocType where only one record may exist
      * Usually used in settings - `Circularo Integration` is a singleton DocType
* Then create API Token

![Create API Token](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123343.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=dad503c11d485acc4923e6416239d33b)

* All fields are validated and signature must be already present in Circularo account.

![Created API Token](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123411.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=2fcef7dcb2f009d8a7ec8378f181dd0e)

* Now the integration is active.

## 2. Use the integration

* Integration actions may perform any logged in user
* The integration button is by default visible in `List View`

![Integration in ListView](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123446.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=a500add510e8c97cb0ba9a3cd431d663)

* Add in `Form View`

![Integration in Form View](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123514.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=47d981c62e2966ac4174818eb61b134a)

### a) Send to Circularo

* Archives a document in Circularo.

![Archiving two documents in Circularo](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123558.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=9f5686553a5974d6e2b69de357a3791c)

![Documents have been archived](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123621.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=a22de9f3ef183eb7cf931d08350b4b85)

* You can click the document title to go to history (see below)

### b) Sign in Circularo

* Manually sign a document in Circularo

![Preparing document to be signed](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123714.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=8ef106238daa5448ab0759faf5588df7)

![Document is ready to be signed](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123724.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=6e17b194ee18ce6806bdc752fc796e4d)

* You can click the document title to go to history (see below)
* Manually signed document can be downloaded to frappe system on request
  * In document history click `Download signed file`

![Download manually signed document](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123817.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=b6724f64a2c6f13c3a258dabea9cf391)

* If the document has not been signed yet, you will be notified, otherwise the document is downloaded.

![Document has not been signed yet](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123851.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=16f054457ae88cc446908f48cfd4ab37)

### c) Auto-sign in Circularo

* Document is automatically signed and downloaded back to frappe (and sent to an e-mail)

![Signing document in Circularo](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123929.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=da2b6d13f6c8d6049705e235c07800b6)

![Document has been signed](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-123954.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=444c2d502521a461d926a27fcc541e3c)

* You can click the document title to go to history (see below)
  * You can view the signed file here
* Document has been automatically sent to user's e-mail
  * `SMTP` server must be configured properly
  * Automatic e-mail send must be allowed in `Circularo Integration` → `Advanced Settings`

![Automatically signed document has been sent to an e-mail](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-124032.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=b99b9b0a21ef1b9da4c77cb7729ac961)

## 3. History

* On the main screen choose `Circularo Documents`
* Shows history of all sent/signed documents

![List of all sent/signed documents](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-124117.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=b2d8bd1dbe6748681a66dddd9cbc16ac)

* Each record contains information about the document and performed action

![Record detail](https://mintcdn.com/circularo-developers/vJOJFZDAJ1W0AXGQ/images/1070694516--image-20240405-124152.png?fit=max\&auto=format\&n=vJOJFZDAJ1W0AXGQ\&q=85\&s=c9e351ff79cdbd98fc1cd028c700c1aa)

You can use following buttons:

* `Open document` - Opens original document in frappe system
* `View in Circularo` - Opens document in Circularo
* `View PDF file` - Opens PDF file in frappe, depends on used action:
  * `Send to Circularo` - Opens archived / not signed file
  * `Sign in Circularo` - Signed file must be downloaded first (see above)
  * `Auto-sign in Circularo` - Opens signed file


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