How to find Watson Assistant assistantId - watson-assistant

Watson instructions don't seem accurate. They say to "open the assistant settings and click API Details." according to this page: https://cloud.ibm.com/apidocs/assistant/assistant-v2?code=node#messagestateless-request
I don't see any of those options in the dashboard.

In Dialog the assistant settings is the 3 dot menu on the related skill.
For Actions (New Watson Assistant) you click on either Draft or Production environment. There is a cog beside the title and you can find the details there.
Go to draft or production environment. Click on the cog / wheel.
Check for the environment ID:
If you aren't seeing credentials then you might not have them on your instance. This is done automatically when the instance is created but it is possible for someone to delete them. You will need to create a new service credentials.
If you still have issues then it may be related to the rights you have been given on the cloud account. Speak to the Cloud admin.

Related

Expired cert for (Authentication Node.js Example Quickstart)

I am just beginning working with Banno and Jack Henry plugins and i am trying to run through the Node.js quickstart but have gotten an error trying to access the local host page.
I have succesfully started the server but when attempting to access the login via localhost:8080/login.html i receive a privacy error because the server.cert file contains an expired certificate. I need somewhere to generate a new certificate or where JH has one stored for the dev learning track. Thanks in advance
Your browser should give an option (even if it is somewhat hidden) to continue with the Consumer API OpenID Connect Example (https://localhost:8080/login.html) even though the cert has expired.
For example, with Safari for Mac it should look like this:
Clicking the "Show Details" button brings up a hyperlink option to "visit this website". That'll let you move forward.
The precise steps may be different in your browser + operating system, but the general answer is the same.

cloud platform project dialog box

I'm doing the basic tutorial for google Quickstart bot in section to part 2 I see:
2) In the Cloud Platform project dialog box, click the URL for the project associated with the script.
I don't see any urls to click. Image of dialog box below
That's because since the release of April, 8th you can no longer view the default GCP assigned to your project (that is, if you created the project after the release). If properly reassigned a standard GCP, the link will appear in the dialog box in place of the This script has an Apps Script managed Cloud Platform project placeholder.
Please, read this official guide on how to switch to standard GCP (if you don't have a standard GCP yet, there is a guide on how to create one - btw, it might be confusing, but the button is clickable and will lead you straight to cloud console) and follow the steps provided.
Once done, copy the GCP number, open the resource manager again, paste the number and click on the "Set Project" button. If everything is configured correctly, you will see something like this and be able to access your new GCP:

How do you restrict a Google App Maker application so that only users in a Google Group can access it?

I have built a Google App Maker application and published it. However, I only want users in a Google Group to be able to access the application (view UI elements) via the deployment link. How do you do this? I referenced this solution to another post: https://stackoverflow.com/a/49577258/9878092. I cannot seem to find where the Application access section that is mentioned in the solution is. Thank you!
Here are the steps you can follow to go to 'Application Access' screen.
From your appmaker window click on 'Setting' icon.
Go to Deployments tab.
Publish new deployment if you haven't done already. If you have already deployed your changes then click on the deployed version and "Edit" button.
This will open the Application Access screen. Select option "Only allow to specific" users. Provide user names who should be able to access the app.

Missing configuration for Application File(s)

I'm new to ServiceNow and have been following the Learning Path on the Developers site. I created a Jakarta Instance and have been making my way through the tutorials. However, I have been consistently running into problems where I am missing configuration options when creating application files. I can't properly set up UI Policies, Events, Notifications, etc. because I'm missing specific options like being able to write scripts and more. I have switched to the "Advanced View" in the "Related Links" but to no avail. The account is an Administrator account and has not been modified at all since the creation of the Instance. Is there something I am missing? Other developers following this track with me currently do not have the same problems so I'm wondering if its account specific or something with configurations. I've attached my Notification file; even in Advanced View, it is missing "Send When" and "Advanced Condition" script.
An example of options not loading: Notification Application File Example
Double check that you are under the Advanced view for these sections.
These should be there for you, Send when and Advanced condition are under the When to send tab within the Advanced view.
If you don't see these under the Advanced view, you should be able to manually add the fields using the Form Designer.
Take a look at the documentation at Form design.
In short
Go to your instance and go to Settings Gear > Developer and change Application to Global
Right click the header and go to Configure > Form Design.
Verify you've selected the Advanced view
Drag the missing fields to the form.
Click Save
Change the Application back to the one you are working with

Where can I find my Enterprise ID for Box API?

I'm using the Box API SDK for .Net, and trying to set it up to use JSON Web Tokens instead of OAuth2.
When I instantiate the BoxConfig object I need to provide the Enterprise ID:
var config = new BoxConfig( clientId, clientSecret, enterpriseId, jwtPrivateKey, jwtPrivateKeyPassword, jwtPublicKeyId );
Seeing some conflicting information:
The GitHub page for the Box Java SDK says the Enterprise ID is
on the developer console, but I don't see it there.
The Box API help page for App Auth says it's in the Admin
Console, but I don't see it there either.
Can someone point me to where, specifically, I could find the Enterprise ID?
You can find the Enterprise ID by going to the Admin Console -> Click the gear in the top right -> Click Business Settings (It may say Enterprise Settings or Elite Settings based on the account level). Under the Account Info tab you can see your Enterprise ID.
You can also get directly to that page by going to
https://www.box.com/master/settings while logged into the account. Note that only enterprise admins / co-admins with sufficient permissions will have access to that page, otherwise it will redirect to the account settings. In this case, you would need to contact your enterprise admin to get this Enterprise ID.
It appears that the Enterprise ID is embedded on most pages, even the /files page. It can be accessed by opening the browser's console and entering in window.initialConfig["enterpriseId"] or console.log(window.initialConfig["enterpriseId"]);.
Even though that will give you the Enterprise ID the application will still need to be approved by an Enterprise Admin.
You can find this in the Developer Console for your app under "Configuration" > "App Settings" where you will see a JSON representation of your App Settings JSON file that you can also download. The Enterprise ID is the enterpriseID property.