Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.11 KB

google.md

File metadata and controls

19 lines (10 loc) · 1.11 KB
  • After logging in the Google Cloud Platform console you will need to enable the Cloud Natural Language API via the API Library section.

  • Now, we first need to create a new project in the Google Cloud Platform console.

  • You will see a screen like this once you click on "New Project" on the dashoard:

screen shot 2018-10-11 at 12 11 19 am

  • After creating the project, please note down the Project ID and add it to the .env file for the key NATURAL_LANGUAGE_PROJECT_ID.

  • Select the project you have created, and go the "Create Service Account Key" page and in the 'Service Account' section click on 'New Service Account'.

  • Enter the name & select the Role as 'Owner' for the project.

  • Then click on create to have the JSON credentials file downloaded automatically.

  • Add that json file in your laravel project root & add it to .gitignore.

  • Set the path to that file as the value for the key key_file_path in the config/naturallanguage.php (config file published by this package).