EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB484683: Generate Refresh Token to access Google BigQuery


Community Admin

• Strategy


This article explains how to generate Refresh Token to access Google BigQuery for Linux and Windows.

Learn to generate Refresh Token to access Google BigQuery on Linux or Windows. 

On Linux

  • If you do not have the Confirmation Number, please refer to Generate Confirmation Number for Google BigQuery first. 
  • Connect to a Linux environment using SSH. 
    On Mac:
    • Open the Terminal application.
ka04W000001IwnMQAS_0EM4W000001JTXk.jpeg
    • Use the SSH command to connect to the hostname or IP address of your server.
ka04W000001IwnMQAS_0EM4W000001JTXz.jpeg
    • If the security alert comes up, type “yes” and press the Enter key.
ka04W000001IwnMQAS_0EM4W000001JTY4.jpeg
  • On Windows:
    • Download and install the PuTTY application.
    • Open the Putty application, fill out the hostname or IP address of your server in the “Host Name (or IP address)” field and click Open.
ka04W000001IwnMQAS_0EM4W000001JTY9.jpeg
    • If the “PuTTY Security Alert” dialog window displays, click Yes.
ka04W000001IwnMQAS_0EM4W000001JTYJ.jpeg
  • Type your access password and press Enter.
ka04W000001IwnMQAS_0EM4W000001JTYT.jpeg
  • You are connected to the server via SSH.
ka04W000001IwnMQAS_0EM4W000001JTYi.jpeg
  • Type the command in the following screenshot, paste your confirmation number from Step 5, and press Enter.
ka04W000001IwnMQAS_0EM4W000001JTYn.jpeg
  • The refresh token is generated. You can copy the token and paste it into your application.
    Please note that the token has comma at the end. Do NOT copy the last character (comma).
ka04W000001IwnMQAS_0EM4W000001JTYs.jpeg


 

On Windows

  • Log in to the Windows computer/server where you want to create the ODBC DSN.
ka04W000001IwnMQAS_0EM4W000001JTa0.jpeg
  • Click Start at the bottom-left corner, search for the “ODBC Data Sources (64-bit)” application, and open it.
ka04W000001IwnMQAS_0EM4W000001JTa5.jpeg
  • The ODBC Data Source Administrator (64-bit) window displays.
ka04W000001IwnMQAS_0EM4W000001JTaA.jpeg
  • Switch to the System DSN tab and click Add.
ka04W000001IwnMQAS_0EM4W000001JTaF.jpeg
  • Select platform for which you want to create the ODBC connection.
    • If you are creating ODBC connection for Windows-Web, select the Strategy Google BigQuery ODBC Driver, and click Finish.
ka04W000001IwnMQAS_0EM4W000001JTaK.jpeg
    • If you are creating ODBC connection for Workstation, select the Strategy Google BigQuery ODBC Driver Client and click Finish. Please note the “Client” word at the end of the driver’s name. If you create an ODBC DSN connection using the other “Strategy Google BigQuery ODBC Driver," the connection will NOT be visible and usable in Strategy Workstation.
ka04W000001IwnMQAS_0EM4W000001JTaP.jpeg
  • The Strategy ODBC Driver for Google BigQuery DSN Setup window displays. Fill out the Data Source Name field, switch the Authentication select field to User Authentication, and click Sign In.
ka04W000001IwnMQAS_0EM4W000001JTaU.jpeg
  • The Sign In - Google Accounts window displays. Fill in your email or phone and click Next.
ka04W000001IwnMQAS_0EM4W000001JTae.jpeg
  • On the next screen, fill in your password associated with your Google account.
ka04W000001IwnMQAS_0EM4W000001JTaj.jpeg
  • Lastly, allow Strategy access to your Google BigQuery data by clicking Allow.
ka04W000001IwnMQAS_0EM4W000001JTao.jpeg
  • The Confirmation Code displays. Copy (Ctrl+C) the code to clipboard and close the window.
ka04W000001IwnMQAS_0EM4W000001JTat.jpeg
  • You are returned to the Strategy ODBC Driver for Google BigQuery DSN Setup window. Paste (Ctrl+V) the code to the Confirmation Code field.
ka04W000001IwnMQAS_0EM4W000001JTb3.jpeg
  • Click the Refresh Token field and the Refresh Token field is automatically populated with your refresh token.
ka04W000001IwnMQAS_0EM4W000001JTaQ.jpeg

Comment

0 comments

Details

Knowledge Article

Published:

November 2, 2020

Last Updated:

November 2, 2020