<commit_before>.. _setup_flytbase_cloud:

Setup
=====

1. Request Beta Access to Cloud APIs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Go to |flytbase_cloud_link| and press request access to cloud API. Fill the form, and our support team will contact you as soon as possible.

.. figure:: /_static/Images/cloud_beta.png
	:align: center 
	:scale: 50 %
	
	Cloud API access form
	  

2. Get Access Token
^^^^^^^^^^^^^^^^^^^
Once you get a confirmation from the support team, a new 'Developer Settings' tab will appear on your |my_flytbase_link| page.

.. figure:: /_static/Images/personal_access_token.png
	:align: center 
	:scale: 50 %
	
Once you get the 'Developer Settings' tab, you can open it to get your personal access token. Press the edit button to control which device can be controlled using the Cloud API.   

.. figure:: /_static/Images/edit_access.png
	:align: center 
	:scale: 50 %

Enable the access status of the devices on which you want to use the Cloud APIs, note the Vehicle ID of the device and Press Save. 

.. note:: It is recommended to first test the Cloud APIs on the `Cloud Simulator <Cloud_Simulator.html>`_ device before you fly.

3. Enable Cloud Client
^^^^^^^^^^^^^^^^^^^^^^

Open FlytConsole on the device on which you wish to run cloud APIs.

.. figure:: /_static/Images/flytos_console.png
	:align: center 
	:scale: 50 %

Press the settings button, as shown in the image

.. figure:: /_static/Images/flytconsole.png
	:align: center 
	:scale: 50 %

Check the cloud client check box to enable cloud APIs.

.. figure:: /_static/Images/enable_cloud_client.png
	:align: center 
	:scale: 50 %
 
.. note:: Cloud APIs will be enabled after you restart your device

4. Ready to Test:<commit_msg>Update Setup_FlytBase_Cloud.rst<commit_after>.. _setup_flytbase_cloud:

Setup
=====

1. Request Beta Access to Cloud APIs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Go to |flytbase_cloud_link| and press request access to cloud API. Fill the form, and our support team will contact you as soon as possible.

.. figure:: /_static/Images/cloud_beta.png
	:align: center 
	:scale: 50 %
	
	Cloud API access form
	  

2. Get Access Token
^^^^^^^^^^^^^^^^^^^
Once you get a confirmation from the support team, a new 'Developer Settings' tab will appear on your |my_flytbase_link| page.

.. figure:: /_static/Images/personal_access_token.png
	:align: center 
	:scale: 50 %
	
Once you get the 'Developer Settings' tab, you can open it to get your personal access token. Press the edit button to control which device can be controlled using the Cloud API.   

.. figure:: /_static/Images/edit_access.png
	:align: center 
	:scale: 50 %

Enable the access status of the devices on which you want to use the Cloud APIs, note the Vehicle ID of the device and Press Save. 

.. note:: It is recommended to first test the Cloud APIs on the `Cloud Simulator <Cloud_Simulator.html>`_ device before you fly.

3. Enable Cloud Client
^^^^^^^^^^^^^^^^^^^^^^

Open FlytConsole on the device on which you wish to run cloud APIs.

.. figure:: /_static/Images/flytos_console.png
	:align: center 
	:scale: 50 %

   <br />
Press the settings button, as shown in the image

.. figure:: /_static/Images/flytconsole.png
	:align: center 
	:scale: 50 %

Check the cloud client check box to enable cloud APIs.

.. figure:: /_static/Images/enable_cloud_client.png
	:align: center 
	:scale: 50 %
 
.. note:: Cloud APIs will be enabled after you restart your device

4. Ready to Test:
{'fraction_non_alphanumeric': 0.12057971014492753, 'fraction_numerical': 0.00927536231884058, 'mean_word_length': 3.895035460992908, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1460154', 'n_tokens_mistral': 1089, 'n_tokens_neox': 1009, 'n_words': 453}