|
| 1 | +# Docebo |
| 2 | + |
| 3 | +[Docebo](https://www.docebo.com/) is a cloud-based learning management system (LMS) that helps organizations deliver, track, and manage their training programs. |
| 4 | + |
| 5 | +Bruin supports Docebo as a source for [Ingestr assets](/assets/ingestr), enabling you to ingest data from your Docebo platform into your data warehouse. |
| 6 | + |
| 7 | +## Connection |
| 8 | + |
| 9 | +To configure a Docebo connection, you need: |
| 10 | +- **Base URL**: Your Docebo instance URL (e.g., `https://yourcompany.docebosaas.com`) |
| 11 | +- **Client ID**: OAuth2 client ID from your Docebo OAuth application |
| 12 | +- **Client Secret**: OAuth2 client secret from your Docebo OAuth application |
| 13 | +- **Username**: Your Docebo username |
| 14 | +- **Password**: Your Docebo password |
| 15 | + |
| 16 | +### Getting OAuth Credentials |
| 17 | + |
| 18 | +1. Log in to your Docebo platform as a Super Admin |
| 19 | +2. Navigate to **Settings** → **API and SSO** |
| 20 | +3. Click on **Manage** to access the API and SSO settings |
| 21 | +4. Go to the **API Credentials** tab |
| 22 | +5. Create a new OAuth2 application: |
| 23 | + - Click **Add OAuth2 App** |
| 24 | + - Enter a name for your application |
| 25 | + - Configure the appropriate scopes for your data needs |
| 26 | + - Save the application |
| 27 | +6. Note down the **Client ID** and **Client Secret** |
| 28 | + |
| 29 | +## Configuration |
| 30 | + |
| 31 | +Add the connection to `.bruin.yml`: |
| 32 | + |
| 33 | +```yaml |
| 34 | +connections: |
| 35 | + docebo: |
| 36 | + - name: "my-docebo" |
| 37 | + base_url: "https://yourcompany.docebosaas.com" |
| 38 | + client_id: "your_client_id" |
| 39 | + client_secret: "your_client_secret" |
| 40 | + username: "your_username" |
| 41 | + password: "your_password" |
| 42 | +``` |
| 43 | +
|
| 44 | +## Ingestr Assets |
| 45 | +
|
| 46 | +Once you've configured the connection, you can create an Ingestr asset to ingest data from Docebo. |
| 47 | +
|
| 48 | +Here's an example asset configuration: |
| 49 | +
|
| 50 | +```yaml |
| 51 | +name: docebo.users |
| 52 | +type: ingestr |
| 53 | + |
| 54 | +parameters: |
| 55 | + source_connection: my-docebo |
| 56 | + source_table: 'users' |
| 57 | + destination: bigquery |
| 58 | +``` |
| 59 | +
|
| 60 | +## Available Source Tables |
| 61 | +
|
| 62 | +| Table | Inc Strategy | Details | |
| 63 | +| ----- | ------------ | ------- | |
| 64 | +| `branches` | replace | Organization branches and departments structure. | |
| 65 | +| `categories` | replace | Course categories for organizing learning content. | |
| 66 | +| `certifications` | replace | Certification records and achievement data. | |
| 67 | +| `course_enrollments` | replace | Course enrollment data including user progress. | |
| 68 | +| `course_fields` | replace | Custom fields defined for courses. | |
| 69 | +| `course_learning_objects` | replace | Learning objects and materials within courses. | |
| 70 | +| `courses` | replace | Course information including metadata and settings. | |
| 71 | +| `external_training` | replace | External training records tracked in the system. | |
| 72 | +| `group_members` | replace | User group membership assignments. | |
| 73 | +| `groups` | replace | User groups for organizing learners. | |
| 74 | +| `learning_plan_course_enrollments` | replace | Course enrollments within learning plans. | |
| 75 | +| `learning_plan_enrollments` | replace | User enrollments in learning plans. | |
| 76 | +| `learning_plans` | replace | Learning plan definitions and structure. | |
| 77 | +| `sessions` | replace | Training session information and schedules. | |
| 78 | +| `user_fields` | replace | Custom fields defined for user profiles. | |
| 79 | +| `users` | replace | User profiles and account information. | |
| 80 | + |
| 81 | +## Example: Ingesting User Data |
| 82 | + |
| 83 | +Create a file `assets/docebo_users.asset.yml`: |
| 84 | + |
| 85 | +```yaml |
| 86 | +name: docebo.users |
| 87 | +type: ingestr |
| 88 | +
|
| 89 | +parameters: |
| 90 | + source_connection: my-docebo |
| 91 | + source_table: 'users' |
| 92 | + destination: bigquery |
| 93 | +
|
| 94 | +columns: |
| 95 | + - name: user_id |
| 96 | + type: integer |
| 97 | + description: "Unique user identifier" |
| 98 | + - name: username |
| 99 | + type: string |
| 100 | + description: "User's username" |
| 101 | + - name: email |
| 102 | + type: string |
| 103 | + description: "User's email address" |
| 104 | + - name: first_name |
| 105 | + type: string |
| 106 | + description: "User's first name" |
| 107 | + - name: last_name |
| 108 | + type: string |
| 109 | + description: "User's last name" |
| 110 | + - name: created_at |
| 111 | + type: timestamp |
| 112 | + description: "User creation timestamp" |
| 113 | + - name: last_login |
| 114 | + type: timestamp |
| 115 | + description: "Last login timestamp" |
| 116 | +``` |
| 117 | + |
| 118 | +## Notes |
| 119 | + |
| 120 | +- Docebo integration currently supports **full refresh** only - incremental loading is not available |
| 121 | +- The integration uses OAuth 2.0 password grant type for authentication |
| 122 | +- Invalid date fields in the source data are normalized to Unix epoch (1970-01-01) |
| 123 | +- Ensure your OAuth application has the necessary scopes to access the data you want to ingest |
| 124 | + |
| 125 | +## Troubleshooting |
| 126 | + |
| 127 | +### Authentication Issues |
| 128 | +- Verify that your base URL is correct and includes the protocol (https://) |
| 129 | +- Ensure your OAuth client has the correct permissions |
| 130 | +- Check that your username and password are valid |
| 131 | + |
| 132 | +### Data Access Issues |
| 133 | +- Verify that your OAuth application has the necessary scopes |
| 134 | +- Check that the user account has permissions to access the requested data |
| 135 | +- Ensure the table name is spelled correctly (case-sensitive) |
| 136 | + |
| 137 | +For more information on Ingestr assets, see the [Ingestr documentation](/assets/ingestr). |
0 commit comments