Cannot upload public key to create a secure connection in bluemix - ibm-cloud

According to the README file, it says
Using the
BlueMix popup that enabled you to download the client, you will find
the message, "Now, upload the public key that you generated using
your local machine" and Browse button; click the button to upload
you RSA key to enable your connector.
I used Chrome and FF and still didn't see the upload button. I wanted to upload a the screenshot of the popup but I don't have any reputation to do so. Sorry. Any help is appreciated.

Sounds like you are referring to Cloud Integration. Yes, you just needed to upload the cert using the browse button, then the cert is uploaded automatically and a check appears to show that it was successful.

Related

Could I create a .log file for my personal Github website to tracking who is click my page?

I have a website written by js-css-html and some php. I have uploaded all the files to the github and it is activively working. As you know, it is a web-page which you can access it via a link.
What I'm trying to do is to see who click to my website. In my search I find that log files do this what I want. How can add log file to keep tracking who is click my web-page?
A GitHub page does have analytics:
either natively through Traffic page,
or through third-party tools, like Google analytics (with this script or a pixel tracked)

Whitelisted user cannot open opt-in link

I have published an alpha version of my action quite a while ago. I'm trying to determine the bare minimum to get it visible to testers.
I have whitelisted the one email account I had created for this test.
If I add them and send them the opt in link, it opens a page with the title "null" and says something along the lines of "we can't find what you're looking for..."
If I open the same link as the owner of the action it works fine.
What do I need to do to enable white listed users to access the action on their devices?
The link must be opened on a mobile device that has the Assistant installed. It can't be opened on the web. (The Assistant is the one that actually needs to go to the page - not a browser.)
The approach I usually use is:
In the Assistant, make sure it is set to the account you want to use. I usually go to the "Explore" screen and click my user avatar in the upper right to set it to the right one.
Send the link to the authorization page via email, hangouts, or some other chat.
Open that link by clicking on it. If you're prompted for an app to use to open the link, select Google or Google Assistant.

PayPal REST API App secret key not displaying in sandbox mode

I have been unable to retrieve the secret key for my REST API app in SANDBOX mode, although it is being displayed when in LIVE mode. I've tested with multiple browsers and on multiple terminals, and the SHOW button is just not responding in sandbox mode. I have also tried creating a new app, but the same issue persists with that too.
Has anyone else faced this issue? Could I have missed some step or requirement? The first app is an old one, created more than a year ago, and I was able to retrieve the secret key and test it sandbox mode then, and it is still working now.
Thank you for your kind attention.
I was also facing the same exact issue. This seems to be a Paypal problem, but here is a solution. Open up Internet Explorer and select your app from your Sandbox account. Once you are on the page with the API Credentials, open up Developer Tools. Choose the Debugger option, which will show you the source code. In the Find command in the Debugger (Cntrl+F), enter "secret selectable". You will find the secret key in the lines next to it. If this doesn't work, manually scroll through the code, and you will find your secret key next to the id tag "show-secret".

Can I develop a private action only accessible via my google home or linked account?

I have raspberry pi controlling my garage door and I want to be able to have an action to open or close it via google home / assistant.
This action is custom and only specific to my needs and I'd like to be able to leverage google to interact with it, but I don't want to publish it for others since it is custom for me. Can this be done? I believe with Alexa it is possible and a quick browse through the docs nothing jumped out at me for this scenario.
The accepted answer is incorrect as the OP specified publishing isn't required. It also provides a link to a different question, namely whether it's possible to retrieve personal information to use personalized actions per user.
The correct answer is yes, you can create a private action for your Google Home. You can create the action within API.ai and preview it locally on your Google Home also within API.ai. This doesn't publish your action, but rather it allows you to use your created action only on your Google Home. Here's a video that confirms this Actions on Google: Introduction to Conversation Actions
To do this, create your action within API.ai. For a screencast on how to do this, check out this video Actions on Google: Building Assistant Actions using API.AI.
When you hit "Preview" in API.ai, your created action will be available in the web simulator and the Google Home device that has the same Google account as the one you're signed into API.ai with.
In the gactions cli tool you can change the preview time limit with the '-preview_mins' flag.
D:\test> gactions preview -preview_mins 999999999 -action_package=action.json -invocation_name="my action"
Pushing action 'my action' for testing...
'my action' is now available for you until 3918-04-09 12:01AM CST (a long while from now)
That will give you ~2000 years of 'preview' time.
Yes, you can. Here the steps to keep your action private:
Download Google gactions cli.
Note: on Mac and Linux run $chmod +x gactions in a terminal to make the binary executable.
Copy the executable inside my_project_dir (your project directory).
Initialize gaction, open a terminal and run:
$ cd <my_project_dir>
$ ./gaction init
gaction creates a file named ‘action.json’
Open a browser developer console (for Chrome: click the three dots in the upper right corner -> More tools -> Developer Tools ).
Click the ‘Network’ tab.
Open your API.AI project and open the ‘Integrations’ window.
Click “AUTHORIZE” button.
Click “PREVIEW” button
In the browser developer console inspect the XHR response from: https://console.api.ai/api/agent/googleassistant/preview
Copy the content of the response and paste it into the file ‘action.json’
Save the file.
To set your preview to last forever in a private mode, open a terminal and run
$ cd <my_project_dir>
$ ./gactions preview -action_package <template_dir>/action.json -preview_mins 999999999 -invocation_name [invocation_name_here]
This command will send the Action (‘action.json’ file, same as the the API.AI project) to your Google Home and will run it as a preview for 999999999 minutes (about 2000 years).
For more detailed information you can follow this tutorial:
How to create a custom private Google Home Action with API.AI and Google App Engine
Unfortunately private stand-alone actions that you can use just on your local devices are not implemented yet. Actions on Google Developers
official Google+ community
One thing you may want to try is using the Assistant IFTTT channel
With it you can register your own, private, voice commands to trigger an IFTTT action, which could be a call to a custom webhook using the Maker channel, which controls your garage door.
The downfall of this method is that it only allows you to register one off commands, you can't implement a whole dialog like this.
Only for 30 minutes is my understanding. After 30 minutes you have to refresh the developer mode to get the actions back.
If you use Api.ai, you can preview your private actions for up to 30 minutes (default) or extend to up to 24 hours. After this period, your private actions won't be available.
Reference: Make google actions development project preview persist longer

Sign in with google in my website

I have created Client Id in google console, and I put the code given in google console,
but if I have already signed in gmail in other tab, and I open my website it automatically sign in with gmail.
I want to know that how can I implement this so that when user press 'Sign in with google' then only it goes to other page.
I am also having that issue. I think if we use a javascript onclick function, that should work. But have you got any solutions yet?