Creating Custom GPTs: OAuth Authentication For Custom Actions | Complete Guide

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • This instructional video offers an in-depth tutorial on crafting customized OpenAI GPT App Store. It places a special focus on integrating OAuth authentication mechanisms through the use of API keys, a crucial component for maintaining security and efficiency in OpenAI's application ecosystem. The guide is designed to provide clear, step-by-step instructions, ensuring that viewers can easily understand and implement these techniques in their own OpenAI-based applications.
    SUBSCRIBE for more! 👉 bit.ly/3zlUmiS 👈
    Navigate AI with Us 👇
    linktr.ee/webcafe
    GPT Creator 🛠️
    bit.ly/GPT-Cre...
    Introducing GPTs
    openai.com/blo...
    Authentication OAuth
    Authorization URL
    accounts.googl...
    Token URL
    oauth2.googlea...
    Key Takeaways:
    ✩ Detailed Walkthrough on Custom GPT Development: The video provides a step-by-step guide on developing custom GPT models, including selecting model parameters, training processes, and optimization techniques.
    ✩ In-depth Coverage of OAuth Authentication: Special attention is given to OAuth authentication methods, explaining how to securely integrate API keys for application access and data protection.
    ✩ Tailored for OpenAI's Framework: The tutorial is specifically designed for developers working within the OpenAI ecosystem, focusing on applicable practices and examples relevant to this platform.
    -------------------------------------------------
    ➤ Follow @webcafeai
    • Twitter: / webcafeai
    • TikTok: / webcafeai
    -------------------------------------------------
    ▼ Extra Links of Interest:
    ☕ Submit Your AI Business
    www.webcafeai....
    💰 Become an Affiliate: webcafesoftwar...
    Free AI Automation Workshop 💬
    aitraining.web...
    ⚙️ AI Automation Tutorials: • Zapier For AI: Bridgin...
    Welcome! I'm Corbin ai, the CEO and Full Stack AI Engineer behind the vision of Webcafe AI Nexus. While I lead our ventures into the vast world of AI-driven solutions, it's no secret that my fuel is a mix of tech enthusiasm and copious amounts of coffee. I’m on a mission to architect an ecosystem of AI-focused SaaS platforms, all destined to reshape the business landscape.
    Together, we chart the unknown, innovate the unimaginable, and always have a cup ready for the next big idea ☕

Komentáře • 63

  • @LAKD
    @LAKD Před 7 měsíci +5

    I appreciate you going in depth, not skipping over stuff and not just saying what you're typing. A true definition of a tutorial, learned a lot!

  • @Xtremefaith13
    @Xtremefaith13 Před 2 měsíci

    This was very helpful thanks! You should definitely do one on connecting to Atlassian confluence. If gpt could leverage that in its analysis it would be such a powerful tool for teams.

  • @saurabhbhambry
    @saurabhbhambry Před 6 měsíci +1

    Thanks a ton for this tutorial! It was a huge help. I was trying to integrate a different API (non-google) & yet the step-by-step breakdown was a massive help. Also, love your teaching style - good pace and to the point without any unnecessary fluff!
    Just subscribed! Looking forward to seeing your channel grow.

  • @danielsinewe
    @danielsinewe Před 9 měsíci +1

    Glad we could help with the community post to help you figure it out!

  • @younesshaimi1450
    @younesshaimi1450 Před 9 měsíci

    thank you thank you thank you thank you thank you!!! what a great guy!!! it is wonderful there are still people who make really helpful tutorials like these!!!!

  • @shewhoisaudacious
    @shewhoisaudacious Před 9 měsíci +1

    Thanks Corbin. Looking forward to this one.

  • @BunniesAI
    @BunniesAI Před 9 měsíci

    If I may throw my hat in the ring in terms of video suggestions; it appears that the assistant API allows for the creation and use of multiple assistants working together. Now *that* would be something 🎉

  • @DeonBands
    @DeonBands Před 9 měsíci

    Very very, extremely absolutely beautiful knowledge that adds huge humongous time savings to my life. You made my life longer. I was going insane today trying to get oauth to work. - And incidentaly on a Google API. Then in an act of shear desperation and panic I did a search. What I find interesting though was that it was not positioned as 1 in the search, even though you have all the stuff that I was looking for.
    Yip subscribed and all the rest.

    • @webcafeai
      @webcafeai  Před 9 měsíci

      I'm glad you found value here, welcome to the channel!

    • @DeonBands
      @DeonBands Před 9 měsíci

      The say you can't teach an old dog new tricks@@webcafeaiyou did. I learned some stuff, from your vids.

  • @ward_jl
    @ward_jl Před 9 měsíci +3

    Once again an awesome tutorial! Could you make a video on creating assistant functions on the OpenAI Platform? We are able to deploy these assistants to other platforms. The code that works in the ChatGPT application does not seem to work on the OpenAI Platform. Much appreciated!

  • @alangalanyt
    @alangalanyt Před 9 měsíci +1

    Amazing can’t wait to try this

  • @hugooc
    @hugooc Před 3 měsíci

    You are amazing. Excellent tutorial.

  • @MrPBull
    @MrPBull Před 9 měsíci +2

    Can you do a tutorial about having your gpt generate a file then have it upload to Google drive and use that file as part of its knowledge resource.

  • @CHURCHGPT
    @CHURCHGPT Před 9 měsíci

    Love these videos! Hey anyway you could create a video on how to incorporate huggingface datasets to a GPT assistant. Example using a fitness dataset API with a fitness training assistant

  • @pathivadaanuraag3774
    @pathivadaanuraag3774 Před 7 měsíci +1

    can we add multiple scopes.. like one for reading emails and one for reading calendar events ?

  • @DyanneCavalcanti
    @DyanneCavalcanti Před 29 dny

    Great video! I'm wondering if it would be possible to connect gpt to a database so that it would ask for the user's login and password to proceed... This way, Custom GPTS could be the frontend of applications. Have you ever tried something like this?

  • @Sthpw88
    @Sthpw88 Před 3 měsíci

    I'm creating a personal email concierge to help me clear organize and clean out my personal gmail account that I use just for newsletters, sign-ups, etc. Just a private little GPT for me.
    I got OAuth to work (thanks for the amazing vid. so simple a newbie like me could figure it out), but I'm running into an issue and I can't tell if it's a me thing or an OpenAI thing.
    In preview, I can see the debug HTTP calls are formatted correctly, contain the right information, etc. I can also see the response from the gmail api has the correct information. However for some reason the AI is not using the information in the response to answer my chats. It's making up completely hallucinated message ids, subject lines, snippets, etc in the format of the api responses.
    I've tried changing the initiating prompt a number of ways to try and work with the responses, but it's not working. Anybody else have similar challenges or ideas on what's causing it?

  • @shewhoisaudacious
    @shewhoisaudacious Před 9 měsíci

    This one was fun. Learnt soooo much about how these worked on the backend. Very easy to follow. Looking forward to setting up my own.

  • @cookingwithkennedy4242
    @cookingwithkennedy4242 Před 9 měsíci +1

    Thanks for this. Super helpful and excited to give it a try. Quick question - Once you authorize the login, how long does that last? Did you revoke access or did the system remove it automatically? I'd like my OpenAI Assistant to be able to view my calendar feed to see if there are any events booked on that date and just let me know if the day is available /not available.

    • @webcafeai
      @webcafeai  Před 9 měsíci

      I had manually revoked access to showcase the authentication process. Regarding the frequency of reauthentication, it depends on the specific API. In this context, I am under the impression that Google API requires new access tokens every hour, although I am more familiar with CZcams API documentation, and the calendar API may be more lenient.

  • @dougmiles5242
    @dougmiles5242 Před 9 měsíci

    Thank you for this! Would love to hear from anyone who has a workaround for uncovering that OpenAI URL found in the Google error in the video, which unfortunately isn't revealed with some other APIs.

  • @salesgurupro
    @salesgurupro Před 7 měsíci +1

    Is there a way to enable Oauth using the assistant API? How can I do it programmatically?

    • @webcafeai
      @webcafeai  Před 7 měsíci +1

      Definitely, this would require the context of coding a separate project in software like Visual Studio Code.

  • @user-sv3jl7ng3t
    @user-sv3jl7ng3t Před 6 měsíci

    Hey Corbin - this is great! Are you able to share any insights on how to actually send invites and add conferencing to the events created in calendar? I've got as far as being able to create new events, but the conferencing part of the schema I cannot seem to get right.

  • @shewhoisaudacious
    @shewhoisaudacious Před 9 měsíci +1

    Hey Corbin, how many API operation calls can we make?
    Can we set up these type of GPTs to make multiple API calls for different platforms or is it just one API action call at a time?
    OR
    is this where the Assistant API comes in?
    Thanks.

  • @elsavelaz
    @elsavelaz Před 9 měsíci +1

    Would be great to see how you put this into a website without zapier or other wrapper platforms

  • @cgc2300
    @cgc2300 Před 3 měsíci

    hello could you help me understand how the APIs work, I mean how I could use them and what result I could obtain depending on my different apps

  • @user-nb6dn4mo8s
    @user-nb6dn4mo8s Před 7 měsíci

    Tks

  • @FisVii77
    @FisVii77 Před 8 měsíci

    Or might you do one on implementing plugins that already exist in openai plugins to utilize in our own custom gpts? is there a limit to plugins that can be used? truly think this might be a way to customize a gpt to do all the use cases I personally might need if more then 3 plugins could be used? your thoughts man?

  • @andriusem
    @andriusem Před 7 měsíci +1

    Hi, great video! But as I understand it is only possible for google workspace owners? I tried to set up the scope and it didn't provide mw the same options as you had. I tried to add custom scope but it said it's invalid.

    • @webcafeai
      @webcafeai  Před 7 měsíci +1

      From my understanding, it will require a Google Cloud and Workspace account for this to work. With these, we have the option to access Google's entire API suite.

  • @webcafeai
    @webcafeai  Před 8 měsíci

    Navigate to key moments👇
    made via tubestamp.com
    01:32 - Accessing data from a user's Gmail account.
    02:06 - Troubleshooting the authentication process.
    03:04 - Demonstrating GPTs access to external data.
    03:23 - Accessing and listing calendar data.
    04:02 - Demonstrating GPTs access to read-only API.
    07:58 - Setting up a Google Cloud account.
    08:19 - Activating the calendar API in Google Cloud.
    09:58 - Creating credentials for Google Calendar API.
    10:52 - Choosing the scope for accessing user data.
    13:48 - Setting up OAuth for development phase access.
    14:15 - Copying client ID and secret key for OAuth.
    14:29 - Understanding OAuth setup for internal use.
    15:21 - Explaining enabled API services and usage quotas.
    17:07 - Troubleshooting potential errors with ChatGPT.
    18:36 - Adjusting the URI for authentication request.
    20:16 - Importance of O off consent screen for reauthentication.
    21:43 - Default reminders set for events.
    22:01 - Overview of Google Cloud for other backends.
    22:22 - Discussing quota usage and cost-effectiveness.
    Recap by TubeStamp ✏️

  • @Yipper64
    @Yipper64 Před 9 měsíci +2

    I probably said this already on another video but I want to be able to make calls to the notion API and get back document information, ive been pretty stuck on how to do that because I dont know much about API calls or how schemas work.
    I was able to get the concept I want working by using a php middleware solution, witch someone made a custom GPT to help generate, but I feel like it should be possible without that.

    • @ChanSimon-dk2tm
      @ChanSimon-dk2tm Před 9 měsíci

      Yes, I face the same problem to have Notion API connected to GPT. I cannot have GPT to pass the required headers to notion during submitting request. Is that any method to do so?

    • @Yipper64
      @Yipper64 Před 9 měsíci

      @@ChanSimon-dk2tm I have noticed with this GPT it doesnt realize that Notion requires a version header, have the GPT look up Notion documentation and it should help that issue, at least.
      The main problem im getting is when I actually do get everything functioning and try to make a call I get a big ol empty back.

    • @webcafeai
      @webcafeai  Před 9 měsíci +1

      Hey! I plan to dedicate an entire video to the Notion API in the future. Most likely, I'll use Zapier AI Actions to facilitate this.

  • @AlgorithmicEchoes
    @AlgorithmicEchoes Před 9 měsíci

    Please make a tutorial for notion integration without zapier!

  • @FisVii77
    @FisVii77 Před 8 měsíci

    Hey Man, Corbin, could you do one on youtube video api for searching specific content and summarizing transcripts? ;)

  • @nuttiplutt
    @nuttiplutt Před 9 měsíci

    Would you also make a video of creating a GPT that could interact with your Gmail? Especially being able to find and create a draft response to an email. I tried with your recipe here, but adjusting to gmail scopes. I can get it to list email ID numbers, but nothing more.

  • @redegotrip
    @redegotrip Před 8 měsíci

    Hello, I have a strange behavior. When I try to test the access to the calendar by saying for exemple "list my calendars", I got this chargpt error : "Couldn't log in with plugin." and chat GPT open a new window with CHATGTP Plugins. Very strange, I probably did something wrong.

    • @wolkesau
      @wolkesau Před 5 měsíci

      I got same error today , do you solve this problem yet?

  • @AlaGrandeLePuseCuca23
    @AlaGrandeLePuseCuca23 Před 9 měsíci

    Hi men its possible to avoid gpt ask for allow the permissions for the actions? Sorry for my English

  • @playboy71322
    @playboy71322 Před 9 měsíci

    anyone one seen a GPT that connects to some sort of database to manage memory?

  • @XXQ202XX
    @XXQ202XX Před 9 měsíci

    Hey, great Video. I tried to copy your instructions for the Google Sheets API and get instead of a green message a yellow one saying missing access_token, how can i fix this?

  • @abc007
    @abc007 Před 9 měsíci

    Hey , your videos are awesome .Could you make a video that ads a paywall like paypal to the gpt?

    • @webcafeai
      @webcafeai  Před 9 měsíci

      This type of logic would require you to build out the functionality you wish to achieve on an external backend when accessing the API, e.g., Firebase or AWS.

  • @FootballTriviaDaily
    @FootballTriviaDaily Před 9 měsíci

    How can i add multiple scopes to the actions?

    • @webcafeai
      @webcafeai  Před 9 měsíci

      This would be adding to the schema. I suggest utilizing our GPT that can help with this:
      chat.openai.com/g/g-iThwkWDbA-gpt-customizer-file-finder-json-action-creator

  • @user-ob1uf4ef3p
    @user-ob1uf4ef3p Před 7 měsíci

    Can I also do it with woocommerce?

    • @webcafeai
      @webcafeai  Před 7 měsíci

      Yes, WooCommerce has API access!

  • @gustavofea
    @gustavofea Před 9 měsíci

    where can I find the code you have used?

  • @WeylandLabs
    @WeylandLabs Před 9 měsíci +6

    Dude we might not have a store now !

    • @qbcapturedit
      @qbcapturedit Před 9 měsíci +1

      I’m gonna be pissed…literally invested a whole week making 30+ GPT’s

    • @MarkMayhew
      @MarkMayhew Před 9 měsíci +1

      Dude, where’s my gpt?

  • @NihadPervaTissoNaturprodukte

    bro it's gPt with P. Pronounce it correctly. The Subtext wrote 20 times GBT and one time DBT

  • @crazyguy7373
    @crazyguy7373 Před 9 měsíci

    Dude why don't you do it with zapier? It is way easier in it

    • @webcafeai
      @webcafeai  Před 9 měsíci +1

      This approach ensures we are not dependent on Zapier, which would incur costs, and also allows us to avoid relying on their backend for these functions in our GPT.