Step 1:
Â
Go to the GitHub link
Next Download the file.
Step 2:
Then, Open the folder extract the files.
Open the Visual studio 2022 window.
Next Create a Solution file in Visual studio.
Add the Extract files in the Visual studio page.
Step 3:
After clicking "Clean solution" and "Build solution," if you encounter multiple errors, open the Error List window to view them.
Next, ensure you install the correct package version on your local machine and add any additional packages using NuGet Package Manager.
Ensure that the package version matches the Sitecore instance version, which is 10.3.
Then, verify the package versions in the reference files.
Serialization steps:
You have to add the four Serialization files.
Serialization steps Goto path "~\tools\serialization" and execute the powershell commands,
login.ps1 Â --> to save login details (need to performed first time only)Â Â >>execute "dotnet tool restore" (need to performed first time only).
pull.ps1 Â --> to serialize the changes from sitecore to git repository.
push.ps1 Â --> to update sitecore content tree.
validate.ps1 Â --> to fix any error in serialization like to remove orphaned items/folders.
In the Sitecore window, you have the option to include package names. Proceed by installing the packages.
Sitecore Experience Platform 10.2.0 rev. 006766
Install Sitecore ManagementServices 4.1.0 rev. 00492
You Can click on the Installation Wizard,Then open the Popup window.
Step 4:
Next Open the Command prompt window in Run as administrator.
Go to Your Project file path Location.
First Run this command -- dotnet new tool-manifest. This file created successfully.
Second Run this Command -- dotnet nuget add source -n Site https://sitecore.myget.org/F/sc-packages/api/v3/index.json
Third Run this Command -- dotnet tool install -g sitecore.cli --version 4.2.1 --add-source https://sitecore.myget.org/F/sc-packages/api/v3/index.json
Since I have already installed them, you can proceed to install them in the new Sitecore CLI.
 Fourth Run this Command -- sitecore init
Â
You can Run this four commands.
sitecore plugin add -n Sitecore.DevEx.Extensibility.Serialization --version 4.2.1
sitecore plugin add -n Sitecore.DevEx.Extensibility.Publishing --version 4.2.1
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Indexing --version 4.2.1
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.ResourcePackage --version 4.2.1
To verify that the Sitecore CLI works, go to your project folder in a terminal and type
dotnet Sitecore –version
Â
1) Use an interactive user login
Please run the below commands in the console:
Command: dotnet Sitecore login –authority https://<Sitecore identity server> –cm http:// <Sitecore instance> –allow-write true
Once you fire up the above given command, it will open up a login screen in the browser.
 Next you can Follow this steps.
Execute "dotnet sitecore ser push" to sync the items
Goto "/sitecore/content/home/settings" item and add the ChatGpt token
Build and deploy the app. In order to deploy the app safely, just replace the dlls (chatgptapp.dll) ,views and app_config folders
You should see "ChatGpt" app icon in the launchpad.
Open the Sitecore Instance page.Automatic page created in the sitecore home page.
You can open the ChatGPT app , You can set sitecore page the Api key or Token value .
Find here, how to get the ChatGPT Token https://www.techshaders.com/post/upgrade-your-ai-experience-optimizing-sitecore-with-a-new-chat-gpt-api-key-plan
I'm Arul Pushpam, Sitecore Developer,
A dedicated Sitecore developer with a passion for staying ahead in the ever-evolving world of technology. With a keen eye for innovation and a commitment to excellence, I specialize in crafting exceptional digital experiences using the latest Sitecore advancements.