We developed a set of procedures to automatically detect and measure the DIB around 8620 Å (the Gaia DIB) for a wide range of temperatures. The DIB profile is fit with a Gaussian function. Specifically, the DIB feature is extracted from the spectra of late-type stars by subtracting the corresponding synthetic spectra. For early-type stars we applied a specific model based on the Gaussian process that needs no prior knowledge of the stellar parameters. The method was tested on ∼5000 spectra from the Giraffe Inner Bulge Survey (GIBS). After validation, we obtained 4194 reasonable fitting results from the GIBS database. An EW versus E(J−KS) relation is derived as E(J−KS)=1.875(±0.152)×EW−0.011(±0.048), according to E(B−V)/EW=2.721, which is highly consistent with previous results toward similar sightlines. After a correction based on the VVV database for both EW and reddening, the coefficient derived from individual GIBS fields, E(J−KS)/EW=1.884±0.225, is also in perfect agreement with literature values. Based on a subsample of 1015 stars toward the Galactic center within −3∘<b<3∘ and −6∘<l<3∘, we determined a rest-frame wavelength of the Gaia DIB as 8620.55 Å. A Gaussian profile is proved to be a proper and stable assumption for the Gaia DIB as no intrinsic asymmetry is found.