Alexey | 2019-04-08 14:28:35 UTC | #1
Hello. I have a couple of questions about the web chat.
- I added web chat into the Iframe(src="https://apps.mypurecloud.com/crm/index.html?crm=framework-local-secure").
Can I get access to full functionality in this Iframe? Like in the tutorial
Or should I use another Iframe and other functionality?
- Do you have the list of permissions for base interactions - chating, video calls and e.t.c.? I am trying to make some base operation and cannot find permissions. For example, I created Client with “Client Credentials” and added the admin role with all chat permissions; But still getting error "You do not have permission to create interactions."
- Where can I see organization fee plan. I have a demo account but where can I see this? Where can I see the available operations?
tim.smith | 2019-04-08 18:14:32 UTC | #2
Alexey, post:1, topic:4937
Can I get access to full functionality in this Iframe? Like in the tutorial
I don't know what tutorial you're referring to.
Do you have the list of permissions for base interactions
Each API is documented with the permissions it requires. Note that you can't create or handle conversations without a user (i.e. you can't use client credentials).
Where can I see organization fee plan
https://www.genesys.com/platform/purecloud/purecloud-pricing
If that doesn't answer your questions, licensing would be something you should discuss with your sales rep or account manager.
Alexey | 2019-04-09 12:27:01 UTC | #3
I will provide some more clarifications. I am going to integrate our CRM system with the PureCloud Embeded Framework and I am following the instructions provided here https://developer.mypurecloud.com/api/embeddable-framework/index.html
Could you please clarify some points? I have created the test html page with iFrame according to the instructions in this development documentation. Then, I created Client with Client ID in the OAuth Client tab and then added this client ID to the framework.js. When running the test iFrame, I can log in as an organization only. As far as I understand from your previous reply, I must not be able to make any Interactions in the Purecloud when logging in with the Client ID ("Note that you can't create or handle conversations without a user (i.e. you can't use client credentials).") So, I added a user to the organization.
My questions are: What should I do next? How can I log in as a User? Is it possible to create a conversation as a User in the test iFrame, if I have logged in as the organization (using my Client ID)? Are there any capabilities to use the embeded framework in the way shown on the video https://appfoundry.mypurecloud.com/#/filter/purecloud/listing/5064d8d3-2051-44ca-9f6b-dd49838f7681 as soon as the integration is done completely?
tim.smith | 2019-04-09 15:19:20 UTC | #4
Per step 1a in the embeddable framework, the OAuth client you create must be an implicit grant. Embeddable framework apps can only use this user-based OAuth flow.
To place a call using the embeddable framework, use the clickToDial(...) function.
Are there any capabilities to use the embeded framework in the way shown on the video
I can't speak to exactly how that integration was written since it is from a 3rd party. However, you have access to the same toolset (APIs and embeddable framework), so you should be able to replicate any PureCloud functionality you saw in the video.
Alexey | 2019-04-09 16:25:17 UTC | #5
I have set the client as an implicit grant. Nothing has actually changed, my iFrame still shows me the informational message You don`t have permissions.
How can I log in as a User, not Client, to the Purecloud? Can Interactions be used in the trial iFrame somehow?
tim.smith | 2019-04-09 18:30:56 UTC | #6
Alexey, post:5, topic:4937
my iFrame still shows me the informational message You don`t have permissions.
Can you provide specific details of what you're doing?
Alexey | 2019-04-10 08:45:13 UTC | #7
I have been following the steps described in this instruction https://developer.mypurecloud.com/api/embeddable-framework/. I reached the step 6 of the Development section and got the result displayed on the screenshot below However, I expected that after I finish all the development steps I will get access to the full functionality of the iFrame. Please correct me, if my expectations are wrong.
Still, it is not clear for me what is my next step so far?
tim.smith | 2019-04-10 13:19:15 UTC | #8
Alexey, post:7, topic:4937
I will get access to the full functionality of the iFrame.
I don't know what you mean by that. If you're using the Embeddable Framework, you'll have access to its actions and methods.
Richard.Schott | 2019-04-11 14:43:27 UTC | #9
The permissions on your user do not allow you to create new interactions. This needs to be resolved by adding the appropriate permissions to a role possessed by the user whose credentials you provided to the login screen.
Alexey | 2019-04-16 17:01:57 UTC | #10
We continue facing the permission restrictions in the iFrame locally.
- We have created a user and logged in as a User to the Genesis system.
Alexey | 2019-04-16 17:02:33 UTC | #11
In the console, it is specified that we have all necessary permissions.
Alexey | 2019-04-16 17:03:28 UTC | #12
But the Iframe shows us the same result
Alexey | 2019-04-16 17:04:14 UTC | #13
Alexey | 2019-04-16 17:04:47 UTC | #14
However, if we navigate to the Genesis website, we can use the chat between the members of the same organization.
Alexey | 2019-04-16 17:05:32 UTC | #15
I tried the following tutorials, where the developers use framework.js
- https://github.com/trcawthorn2/PureCloudEmbeddableFrameworkExample/blob/master/src/framework.js
- https://github.com/MyPureCloud/embedded-crm-pef-example/blob/master/public/framework.js
The solution described in the second option allowed me to open a new window and logg in, but nothing has changed in the iFrame.
Is this an expected result?
tim.smith | 2019-04-16 21:13:46 UTC | #16
Please open a case with PureCloud Care to investigate your permissions issues.
system | 2019-05-17 21:13:48 UTC | #17
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 4937