> For the complete documentation index, see [llms.txt](https://noren.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://noren.gitbook.io/docs/products/flovac/setup.md).

# Setup

{% hint style="success" %}
This setup guide is only for flo Vehicle Access Control V2.2 and above. [Looking for Card Reader Pro's setup guide?](/docs/products/flovac/setup-crp.md)
{% endhint %}

***

## Our recommended setup

In this section, we'll guide you to set up your system with our recommended setup.

Our recommended setup uses:

* 1x Card Reader (DWProx/Card Reader Pro | optional)
* 1x LPR camera
* 1x Flex Gate (Normal/Folding)
* 1x Welcome Screen (optional)

Assuming you have already got your lane ready, follow the steps below.

{% stepper %}
{% step %}

### Position your Flex Gate

Position your Flex Gate to the left side of the lane like the picture below. To learn how to scale your gate, refer to the [#scaling-your-gates](#scaling-your-gates "mention") section.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2Fgz43Ws5yZu5YsdLBsADB%2Fimage.png?alt=media&amp;token=166465ad-6512-46db-a3af-32c5f1e5051b" alt="Vehicle lane with a Flex Gate on the left side." width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Position your Welcome Screen

If you are not using a Welcome Screen, skip this step.

Position your Welcome Screen in front of your Flex Gate's hub and rotate it to face the driver when they approach. Your setup should now look like the picture below.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FlnuicbxytPZzflxc0KZW%2Fimage.png?alt=media&amp;token=9550f57d-5560-4c87-8127-0c8a3e6eb378" alt="Vehicle lane with Flex Gate and Welcome Screen on the left side." width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Position your LPR camera

Position your LPR camera next to your Welcome Screen (if any) and ensure that it is not blocking the driver's view of the Welcome Screen.

After positioning your LPR camera, move and scale the `DetectionArea` part to the center of your lane and in front of your Flex Gate's barrier.

Your setup should now look like the picture below where the blue box is the detection area.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2F9MwRDLkipb2el3w6eVSm%2Fimage.png?alt=media&amp;token=e864b332-153a-42cc-b7d8-f61e0cba9d7a" alt="Vehicle lane with Flex Gate, Welcome Screen, and LPR camera on the left side." width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Position your card reader

Position the Card Reader to the left side of the lane and rotate it to face the driver's window. If you're using a Welcome Screen, ensure that the driver's view of the Welcome Screen isn't blocked. Optionally, also keep it out of the LPR camera's view to keep it realistic.

Your setup should now look like the picture below.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2F9Wnkt1CZcqY1zLZhKiLQ%2Fimage.png?alt=media&amp;token=e914703d-d0b5-4ed6-a09f-4d4e5321dc12" alt="Vehicle lane with Flex Gate, Welcome Screen, LPR camera and Card Reader on the left side." width="375"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## Scaling your gates

{% hint style="info" %}
This section may be difficult to understand. Please take your time to understand the what the step asks you to do.
{% endhint %}

In this section, we'll guide you on how to scale your Flex Gate's arm. As there are 2 different types of Flex Gates, please refer to the correct section for the Flex Gate you want to scale.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><strong>Flex Gate</strong></td><td><a href="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FLM3XsvVqywMGSm3EXUA4%2Fnoren_documentationNumber_1.png?alt=media&amp;token=2303ae25-a282-4913-9f4a-d43dd2b07972">noren_documentationNumber_1.png</a></td></tr><tr><td><strong>Folding Flex Gate</strong></td><td><a href="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2Fvsx6cUbCvOxR0F3uorIV%2Fnoren_documentationNumber_2.png?alt=media&amp;token=11b84000-de5c-4302-86d6-00e09ba1d851">noren_documentationNumber_2.png</a></td></tr></tbody></table>

***

### Flex Gate

To scale your Flex Gate's arm, follow the step-by-step guide below.

{% stepper %}
{% step %}

### Scale the arm

Select the `Arm` part and scale it to your desired length.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FErWw2n1BLbhSmBrQsIAy%2Fimage.png?alt=media&amp;token=788cf484-2d30-4161-9f44-5903ef58e7b7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### (Optional) Duplicate the stripes

Duplicate the stripes and move them to cover the entire arm.

If you like perfection, we recommend you to use the Archimedes plugin to help you duplicate the stripes.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FDGDakRq9MGHr1F4Cx6yI%2Fimage.png?alt=media&amp;token=33113067-28ab-412d-93bf-737ee29521b5" alt="" width="146"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

### Folding Flex Gate

To scale your Folding Flex Gate's arm, follow the step-by-step guide below.

{% stepper %}
{% step %}

### Move the folding arm

Select the `FoldArm` model in the Flex Gate, then move it until the grey attachment is positioned in the mid-point of your desired length.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FcKaVeIIMcXj9xJcEhBhB%2Fimage.png?alt=media&amp;token=b3326806-5471-4781-9718-e0d425d26eeb" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Scale the folding arm

Select the `Arm` part in the Flex Gate under the `FoldArm` model and scale it until it reaches the end of your desired length.
{% endstep %}

{% step %}

### Scale the arm

Select the `Arm` part in the Flex Gate under the `Barrier` model and scale it until it reaches the center of the grey attachment.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2F5M3YosSpminliYFK3mml%2Fimage.png?alt=media&amp;token=9bae605c-8abf-491a-9b35-3b41f7c8a1f4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### (Optional) Duplicate the stripes

Duplicate the stripes and move them to cover the entire arm.

If you like perfection, we recommend you to use the Archimedes plugin to help you duplicate the stripes.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FDGDakRq9MGHr1F4Cx6yI%2Fimage.png?alt=media&amp;token=33113067-28ab-412d-93bf-737ee29521b5" alt="" width="146"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## Configuration

Each zone is configured separately. The configuration module can be found under the Network as `ZoneConfig`. All configurations have annotations to guide you.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FvP5k0qjsicApPzMcrpok%2Fimage.png?alt=media&amp;token=7335dce1-60c1-4476-8445-e0926d9b8410" alt=""><figcaption></figcaption></figure>

### Authorization function

{% hint style="info" %}
Noren does not provide any scripting-related assistance for this configuration. If you suspect that there is a bug with this function, you can [contact us](/docs/support/support/contact.md) to report it.
{% endhint %}

In the configuration module, you'll find a function called `Authorization`.

The `Authorization` function can be customized to tell the system whether to open or not open any Flex Gates in the zone to allow a `Player` to enter.

To open the gate:

```luau
return true
```

To not open the gate:

```luau
return false
```

or

```luau
return "Reason why they were declined"
```
