Skip to main content
All CollectionsHet FiveX portaalKoppelingen
FiveX koppelen aan Google BigQuery / Connect FiveX to Google BigQuery
FiveX koppelen aan Google BigQuery / Connect FiveX to Google BigQuery
Updated over a week ago

Als je FiveX wil koppelen aan google BigQuery doorloop dan de volgende stappen:

Begin met het verkrijgen van een JSON-sleutelbestand voor Google BigQuery door het uitvoeren van de volgende stappen in de Google Cloud Console:

  1. Log in op Google Cloud Console: Ga naar Google Cloud Console en log in met je Google-account.

  2. Selecteer of Maak een Project: Kies het project waarvoor je de serviceaccount wilt maken, of maak een nieuw project als je dat nog niet hebt gedaan.

  3. Navigeer naar IAM & Admin → Serviceaccounts: In de zijbalk van de Google Cloud Console, ga naar "IAM & Admin" en selecteer "Serviceaccounts".

  4. Maak een Nieuwe Serviceaccount: Klik op "CREATE SERVICE ACCOUNT" en volg de instructies:

    • Geef de serviceaccount een naam en beschrijving.

    • Klik op "CREATE".

  5. Wijs Rollen Toe: Wijs de benodigde rollen toe voor het serviceaccount. Voor BigQuery zou dit iets kunnen zijn als "BigQuery Admin" of een meer beperkte rol, afhankelijk van de vereiste permissies.

    • Klik op "CONTINUE" nadat je de rollen hebt toegekend.

  6. Maak de Sleutel aan:

    • Klik in de lijst met serviceaccounts op de naam van het serviceaccount dat je zojuist hebt gemaakt.

    • Ga naar het tabblad "KEYS".

    • Klik op "ADD KEY" en kies "Create new key".

    • Selecteer het "JSON" type en klik op "CREATE".

    • Het JSON-sleutelbestand wordt nu gedownload naar je computer. Bewaar dit bestand veilig, want het geeft toegang tot je Google Cloud resources.

  7. Gebruik de Sleutel: Gebruik dit sleutelbestand in je applicatie om te authenticeren met Google Cloud services, waaronder BigQuery. Afhankelijk van de clientbibliotheek die je gebruikt, kun je de locatie van dit sleutelbestand meestal specificeren als een omgevingsvariabele of in je code.

  8. Log in bij FiveX en klik op 'koppelingen' -> 'Export kanaal toevoegen' --> Google BigQuery. Vul hier de titel in en de Json service account keys.

  9. Open Google Cloud Console: Ga naar de Google Cloud Console.

  10. Navigeer naar BigQuery: Klik op het navigatiemenu (drie lijnen linksboven) en selecteer BigQuery om naar de BigQuery console te gaan.

  11. Kies het Juiste Project:

    • In de BigQuery web UI, zie je een lijst van beschikbare Google Cloud projecten in de linkerzijbalk.

    • Het project dat geassocieerd is met je serviceaccount (het project waar het serviceaccount is gemaakt) zou in deze lijst moeten verschijnen.

    • Als het project niet automatisch verschijnt, klik dan op de dropdown bij de projectnaam bovenaan de linkerzijbalk en selecteer het juiste project.

  12. Bekijk je BigQuery Resources: Zodra je het juiste project hebt geselecteerd, kun je de datasets, tabellen en andere BigQuery-resources bekijken die beschikbaar zijn in dat project.

Als je geen toegang hebt tot het verwachte project of als je geen projecten ziet in de BigQuery web UI, controleer dan of:

  • De serviceaccount heeft de juiste permissies. Het moet rollen hebben die toegang verlenen tot BigQuery.

  • Je bent ingelogd met het juiste Google-account dat toegang heeft tot dat project.

  • Er is een probleem met de sleutel of de manier waarop je de sleutel hebt geconfigureerd in je externe bron.

Mocht je problemen blijven ondervinden, controleer dan de documentatie van de externe tool of applicatie die je gebruikt om te verifiëren dat de serviceaccount sleutel correct wordt gebruikt.

---------------------------

EN:

To link FiveX to Google BigQuery, follow these steps:

  1. Start by obtaining a JSON key file for Google BigQuery by performing the following steps in the Google Cloud Console:

    • Log in to Google Cloud Console: Go to Google Cloud Console and log in with your Google account.

    • Select or Create a Project: Choose the project for which you want to create the service account, or create a new project if you haven't already done so.

    • Navigate to IAM & Admin → Service Accounts: In the sidebar of the Google Cloud Console, go to "IAM & Admin" and select "Service Accounts".

    • Create a New Service Account: Click on "CREATE SERVICE ACCOUNT" and follow the instructions: ● Give the service account a name and description. ● Click on "CREATE".

    • Assign Roles: Assign the necessary roles to the service account. For BigQuery, this could be something like "BigQuery Admin" or a more restricted role, depending on the required permissions. ● Click on "CONTINUE" after assigning the roles.

    • Generate the Key: ● Click on the name of the service account you just created in the list of service accounts. ● Go to the "KEYS" tab. ● Click on "ADD KEY" and choose "Create new key". ● Select the "JSON" type and click on "CREATE". ● The JSON key file will now be downloaded to your computer. Keep this file safe as it grants access to your Google Cloud resources.

  2. Use the Key: Use this key file in your application to authenticate with Google Cloud services, including BigQuery. Depending on the client library you are using, you can usually specify the location of this key file as an environment variable or in your code.

  3. Log in to FiveX and click on 'links' -> 'Add Export Channel' -> Google BigQuery. Here, enter the title and the Json service account keys.

  4. Open Google Cloud Console: Go to the Google Cloud Console.

  5. Navigate to BigQuery: Click on the navigation menu (three lines in the top left corner) and select BigQuery to go to the BigQuery console.

  6. Choose the Right Project: ● In the BigQuery web UI, you will see a list of available Google Cloud projects in the left sidebar. ● The project associated with your service account (the project where the service account was created) should appear in this list. ● If the project does not appear automatically, click on the dropdown next to the project name at the top of the left sidebar and select the correct project.

  7. View your BigQuery Resources: Once you have selected the correct project, you can view the datasets, tables, and other BigQuery resources available in that project.

If you do not have access to the expected project or if you do not see any projects in the BigQuery web UI, check if:

  • The service account has the correct permissions. It must have roles that grant access to BigQuery.

  • You are logged in with the correct Google account that has access to that project.

  • There is a problem with the key or how you have configured the key in your external source.

If you continue to experience problems, check the documentation of the external tool or application you are using to verify that the service account key is being used correctly.

ADS

API's

Orders

Products

Returns

Did this answer your question?