Skip to main content
All CollectionsLabguru R
R API Authentication
R API Authentication

To communicate with Labguru, you need to connect R to your Labguru account

Meirav Matto avatar
Written by Meirav Matto
Updated over a week ago

After finishing LabguruR installation, proceed to connect R to your Labguru account in order to be able to communicate. 

1. Authenticate using email address 

labguru_authenticate(email="my@@email.com",
        password = "mypassword",
        server  = "https://my.labguru.com",
        set_sys  = TRUE)
labguru_sys_variables()


NOTE: Users from private and on premise servers, need to enter in the field "server" the URL they use to access to Labguru.

2. Authenticate using a token
This option is available for all users but it is directed to servers with LDAP/SSO login.

labguru_set_token(token = "mytoken", server = "https://my.labguru.com")

To get a token:

1. Go to your Labguru's profile

2.Click on "Get API token" 

Did this answer your question?